You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi
I'm having trouble preparing the images downloaded from DeepFashion so that they match the entries in train.lst and test.lst. The downloaded data contains images organised in a number of sub-folders, and even on flattening the directory the image names don't match the train.lst and test.lst values.
Also, the google drive link provided for generated images contains only testing images.
Any help regarding how to proceed further would be greatly appreciated!
The text was updated successfully, but these errors were encountered:
You need to get rid of the _ after id and the last _ .
Assuming parent directory is named fashion as mentioned earlier, in ubuntu I did this:
find fashion -type f -exec sh -c 'new=$(echo "{}" | tr -d "/"|sed s/id_/id/); mv "{}" "$new"' \; : To flatten the directory fashion and get rid of _ after id.
for f in *.jpg; do mv "$f" "$(echo "$f" | sed 's/\(.*\)_/\1/')"; done : To get rid of the last _
Hi
I'm having trouble preparing the images downloaded from DeepFashion so that they match the entries in train.lst and test.lst. The downloaded data contains images organised in a number of sub-folders, and even on flattening the directory the image names don't match the train.lst and test.lst values.
Also, the google drive link provided for generated images contains only testing images.
Any help regarding how to proceed further would be greatly appreciated!
The text was updated successfully, but these errors were encountered: