StrangerZhang / SiamFC-PyTorch

SiamFC PyTorch
MIT License
232 stars 63 forks source link

create_dataset.py pool error #28

Closed mustansarfiaz closed 5 years ago

mustansarfiaz commented 5 years ago

I am facing error at line 67 in create_dataset.py Please help me to solve the issue. ValueError: invalid literal for int() with base 10: 'a\ILSVRC2015_train_00000000\000000'

mustansarfiaz commented 5 years ago

Never mind, solved it for windows. line 20-21 key=lambda x:int(str(x).split('\\')[-1:][0].split('.')[0])) video_name = str(video_dir).split('\\')[-1]