list index out of range
Opened this issue · 2 comments
lamperouge11 commented
when I excuate command “CUDA_VISIBLE_DEVICES=0,1,2,3 python train.py --num_gpus=4 --model_name=ResNeXt --net_name=face --data_list_path=/home/chengcheng/make_data/buffer_TXT/cls/cls_training.npy”,the result showed
File "/home/xuchao/TF_Face_Toolbox/data.py", line 32, in get_image_paths_and_labels
label_index = part_line[1]
IndexError: list index out of range
why?
lamperouge11 commented
medivhna commented
Please check the format of your list file.
We default that Caffe style list files are used, i.e. each line in the file is in the format of "filepath label".