image-captioning-seqgan icon indicating copy to clipboard operation
image-captioning-seqgan copied to clipboard

which subsets from the datasets (flickr8k, flickr30k, coco) put int the right place

Open simohamedhdafa opened this issue 5 years ago • 4 comments

In the second step to run the program : Place images from flickr8k, flickr30, or coco within the images folder (make sure to place it in the correct subdirectory)

Do I need to place only training sets (from each dataset) in the right place ? or mixed train/val/test sets (from each dataset) in the right place ? is it related to karpathy_splits ? if yes, how ?

Thank you

simohamedhdafa avatar Jul 28 '20 14:07 simohamedhdafa

I notice the line 181 in "preprocess.py" file : parser.add_argument('--dataset', type=str, default='flickr8k') I assume that in this line we can specify which dataset to use

simohamedhdafa avatar Jul 29 '20 15:07 simohamedhdafa

The mistakes I've made helped me to understand that we have to put the classical "train2014" and "val2014" folders (from the MSCOCO dataset) within the "coco" folder. If this can help anyone !

simohamedhdafa avatar Jul 29 '20 15:07 simohamedhdafa

Oh shoot, I am so sorry. I have been a bit busy these past couple of days. Yes, you're right. I have also corrected a few logical errors I found in the code, so please check it out if you have the time:)

Anjaney1999 avatar Aug 09 '20 14:08 Anjaney1999

Your code is really neat and beautiful. I really like your code style. It would be great if you could provide a more detailed introduction. You are really great.

Zyg187 avatar May 20 '24 16:05 Zyg187