clovaai / ext_portrait_segmentation

MIT License
239 stars 68 forks source link

ValueError: invalid literal for int() with base 10: '501.png\n' #7

Open dengfenglai321 opened 4 years ago

dengfenglai321 commented 4 years ago

hi, when I run the command python main.py --c ./setting/SINet.json there is a error: ValueError: invalid literal for int() with base 10: '501.png\n'

my dir tree is

.self.data_dir(../Link512DATA/) ├── Nukki │   ├── baidu_V1 │   │   ├── input │   │   ├── target │   │   ├── train.txt │   │   └── val.txt │   └── baidu_V2 │   ├── input │   ├── target │   ├── train.txt │   └── val.txt └── Portrait └── train.txt

the Portrait's train.txt is same as the baidu_V1's train.txt

could you help me?

HYOJINPARK commented 4 years ago

Sorry for the uncomfortable code. Could you download both datasets again? I change the folder name for coincidence. Does it work now?