minar09 / ACGPN

"Towards Photo-Realistic Virtual Try-On by Adaptively Generating↔Preserving Image Content",CVPR 2020. (Modified from original with fixes for inference)
https://github.com/switchablenorms/DeepFashion_Try_On
77 stars 70 forks source link

index out of range #12

Open tatevm opened 3 years ago

tatevm commented 3 years ago

There is a small error in file data/aligned_dataset.py line 203. There should be 'name': A_path.split("/")[-1].split("\")[0]

minar09 commented 3 years ago

Thanks for pointing out.

hjkim811 commented 3 years ago

I'm having the same error, do I have to change from " 'name': A_path.split("/")[-1].split("\")[1] " to " 'name': A_path.split("/")[-1].split("\")[0] "?

minar09 commented 3 years ago

@hjkim811 , if it seems complicated, I guess you can just put the data inside the same folder as the script for the testing purpose and try running.

00zahra000 commented 1 year ago

I'm having the same error, do I have to change from " 'name': A_path.split("/")[-1].split("\")[1] " to " 'name': A_path.split("/")[-1].split("\")[0] "?

it worked for me