update model_zoo/research/cv/vgg19/preprocess.py.
Add `create_label` description
This commit is contained in:
parent
de43ed5420
commit
92ae657d23
|
@ -22,6 +22,7 @@ from model_utils.moxing_adapter import config
|
|||
|
||||
|
||||
def create_label(result_path, dir_path):
|
||||
"""create label for dataset"""
|
||||
print("[WARNING] Create imagenet label. Currently only use for Imagenet2012!")
|
||||
dirs = os.listdir(dir_path)
|
||||
file_list = []
|
||||
|
|
Loading…
Reference in New Issue