From 4ea2f4493c4557f015f271933433cf7cd77bfb30 Mon Sep 17 00:00:00 2001 From: lubin Date: Thu, 3 Mar 2022 06:30:47 +0000 Subject: [PATCH] update cifar10 path --- ppcls/configs/DeepHash/DCH.yaml | 6 +++--- ppcls/configs/DeepHash/DSHSD.yaml | 6 +++--- ppcls/configs/DeepHash/LCDSH.yaml | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/ppcls/configs/DeepHash/DCH.yaml b/ppcls/configs/DeepHash/DCH.yaml index bcc2b08e..c702b07c 100644 --- a/ppcls/configs/DeepHash/DCH.yaml +++ b/ppcls/configs/DeepHash/DCH.yaml @@ -64,7 +64,7 @@ DataLoader: dataset: name: ImageNetDataset image_root: ./dataset/ - cls_label_path: ./dataset/cifar10-2/train.txt + cls_label_path: ./dataset/train.txt transform_ops: - DecodeImage: to_rgb: True @@ -89,7 +89,7 @@ DataLoader: dataset: name: ImageNetDataset image_root: ./dataset/ - cls_label_path: ./dataset/cifar10-2/test.txt + cls_label_path: ./dataset/test.txt transform_ops: - DecodeImage: to_rgb: True @@ -113,7 +113,7 @@ DataLoader: dataset: name: ImageNetDataset image_root: ./dataset/ - cls_label_path: ./dataset/cifar10-2/database.txt + cls_label_path: ./dataset/database.txt transform_ops: - DecodeImage: to_rgb: True diff --git a/ppcls/configs/DeepHash/DSHSD.yaml b/ppcls/configs/DeepHash/DSHSD.yaml index cf8e8bc1..2d92756c 100644 --- a/ppcls/configs/DeepHash/DSHSD.yaml +++ b/ppcls/configs/DeepHash/DSHSD.yaml @@ -65,7 +65,7 @@ DataLoader: dataset: name: ImageNetDataset image_root: ./dataset/ - cls_label_path: ./dataset/cifar10-2/train.txt + cls_label_path: ./dataset/train.txt transform_ops: - DecodeImage: to_rgb: True @@ -90,7 +90,7 @@ DataLoader: dataset: name: ImageNetDataset image_root: ./dataset/ - cls_label_path: ./dataset/cifar10-2/test.txt + cls_label_path: ./dataset/test.txt transform_ops: - DecodeImage: to_rgb: True @@ -114,7 +114,7 @@ DataLoader: dataset: name: ImageNetDataset image_root: ./dataset/ - cls_label_path: ./dataset/cifar10-2/database.txt + cls_label_path: ./dataset/database.txt transform_ops: - DecodeImage: to_rgb: True diff --git a/ppcls/configs/DeepHash/LCDSH.yaml b/ppcls/configs/DeepHash/LCDSH.yaml index 26600adf..2d428ecb 100644 --- a/ppcls/configs/DeepHash/LCDSH.yaml +++ b/ppcls/configs/DeepHash/LCDSH.yaml @@ -61,7 +61,7 @@ DataLoader: dataset: name: ImageNetDataset image_root: ./dataset/ - cls_label_path: ./dataset/cifar10-2/train.txt + cls_label_path: ./dataset/train.txt transform_ops: - DecodeImage: to_rgb: True @@ -86,7 +86,7 @@ DataLoader: dataset: name: ImageNetDataset image_root: ./dataset/ - cls_label_path: ./dataset/cifar10-2/test.txt + cls_label_path: ./dataset/test.txt transform_ops: - DecodeImage: to_rgb: True @@ -110,7 +110,7 @@ DataLoader: dataset: name: ImageNetDataset image_root: ./dataset/ - cls_label_path: ./dataset/cifar10-2/database.txt + cls_label_path: ./dataset/database.txt transform_ops: - DecodeImage: to_rgb: True -- GitLab