diff --git a/ppcls/data/dataloader/flowers102/__init__.py b/datasets/flowers102/__init__.py similarity index 100% rename from ppcls/data/dataloader/flowers102/__init__.py rename to datasets/flowers102/__init__.py diff --git a/ppcls/data/dataloader/flowers102/generate_flowers102_list.py b/datasets/flowers102/generate_flowers102_list.py similarity index 86% rename from ppcls/data/dataloader/flowers102/generate_flowers102_list.py rename to datasets/flowers102/generate_flowers102_list.py index 0867a3166b4233069d1eec196323409c6a3ec416..90066d7507bc93a37120ffbd67caa5661ed89194 100644 --- a/ppcls/data/dataloader/flowers102/generate_flowers102_list.py +++ b/datasets/flowers102/generate_flowers102_list.py @@ -34,5 +34,6 @@ d['valid'] = np.array(setid['valid'][0]) d['test'] = np.array(setid['tstid'][0]) for id in d[sys.argv[2]]: - message = str(data_path) + "/image_" + str(id).zfill(5) + ".jpg " + str(labels[id - 1] - 1) - print(message) + message = str(data_path) + "/image_" + str(id).zfill(5) + ".jpg " + str( + labels[id - 1] - 1) + print(message)