ADGAN icon indicating copy to clipboard operation
ADGAN copied to clipboard

Reproduce using your pretrained model

Open noelcodes opened this issue 5 years ago • 10 comments

I am trying to reproduce your work via pre-trained model (provided in your google link). Seem to be missing something. I ran this:

bash ./scripts/test.sh 

but stuck here:

FileNotFoundError: [Errno 2] No such file or directory: 'your_path/deepfashion/semantic_merge3/000/01.jp/_/001..npy'

Can you provide the ***.npy files?

For detailed log error look here: https://colab.research.google.com/drive/19OPWmpnwgXdQuV06N3xRmew5wP6DuU4K#scrollTo=xl8EZycCiwPJ&uniqifier=1

Maybe I'm heading to the wrong direction. Please advise clearly how to reproduce your work without training?

noelcodes avatar Jun 17 '20 04:06 noelcodes

You should prepare the data step by step and modify the data path in test.sh (replace 'your_path' with your real path):

  1. download person images and split them into folders 'train' and 'test' following dataset split files 'tarin.lst' and 'test.lst'. (note: person image in each folder is named as 'fashionMENDenimid0000056501_1front.jpg')
  2. generate keypoints files and segmentation files. We have provided our segmentation files 'semantic_merge3.tar'(***.npy you mentioned) in google drive for convenience.
  3. modify the data path for your environment.

menyifang avatar Jun 17 '20 06:06 menyifang

How do we generate the segmentation files? Which human parser do you use?

BadourAlBahar avatar Jun 25 '20 22:06 BadourAlBahar

Hi @BadourAlBahar, we generated the segmentation files with pre-trained model provided in this project, and also tried more accuracy model, like Graphonomy.

menyifang avatar Jun 26 '20 16:06 menyifang

Thank you very much for the resources. In here, there are 20 classes for the human parts, how did you get the 8 segmented parts?

Edit: you mention in the supplementary material that you "integrate the original labels into 8 main categories".. How do you do this integration?

BadourAlBahar avatar Jun 27 '20 18:06 BadourAlBahar

  1. fashionMENDenimid0000056501_1front.jpg

Thank you so much for sharing your project - I am learning a lot about fashion. Can I ask why the files are joined like this instead of being in a folder structure? Is it a design choice? I have the source files but they are in folders.

mkemka avatar Jun 28 '20 07:06 mkemka

Edit: you mention in the supplementary material that you "integrate the original labels into 8 main categories".. How do you do this integration?

You can refer to this answer #10.

menyifang avatar Jul 06 '20 09:07 menyifang

  1. fashionMENDenimid0000056501_1front.jpg

Thank you so much for sharing your project - I am learning a lot about fashion. Can I ask why the files are joined like this instead of being in a folder structure? Is it a design choice? I have the source files but they are in folders.

This code is built on PATN, and we directly prepare the data like them.

menyifang avatar Jul 06 '20 09:07 menyifang

  1. fashionMENDenimid0000056501_1front.jpg

Thank you so much for sharing your project - I am learning a lot about fashion. Can I ask why the files are joined like this instead of being in a folder structure? Is it a design choice? I have the source files but they are in folders.

This code is built on PATN, and we directly prepare the data like them.

Hello, can you provide the deep fasion dataset in-shop clothes retrival benchmark dataset that is not in the folder but used in the actual experiment?

shilongshen avatar Jul 28 '20 13:07 shilongshen

@shilongshen, you can download deep fashion dataset in-shop clothes retrival benchmark here

menyifang avatar Jul 29 '20 04:07 menyifang

Hi, @menyifang, I am trying to use your pretrained model to test the result. Which directory should I put the pretrained model file in?

yyhnmn avatar Nov 18 '20 08:11 yyhnmn