cuiaiyu / dressing-in-order

(ICCV'21) Official code of "Dressing in Order: Recurrent Person Image Generation for Pose Transfer, Virtual Try-on and Outfit Editing" by Aiyu Cui, Daniel McKee and Svetlana Lazebnik
https://cuiaiyu.github.io/dressing-in-order
Other
513 stars 127 forks source link

Generate Datasets error #35

Closed pranay-simejia closed 1 year ago

pranay-simejia commented 2 years ago

Hi! Congratulations on the great work. I was trying to set up the repo on my windows 11 local machine but getting a list index out of bounds error while generating the dataset. Could you suggest possible solutions?

image

cuiaiyu commented 2 years ago

This work has only been run and tested with Linux. For windows, I am afraid that the code will not work directly.

For this split script, it seems the file_path $DATAROOT is not a variable but an array in the screenshot? Maybe try to replace it will the actual path of data.

KIMMUSIC commented 2 years ago

In window, path is "$DATAROOT\img_highres\MEN\~" So I changed split("/") to split("\\") at 52,53 lines. Then, it works well