image-caption-generator icon indicating copy to clipboard operation
image-caption-generator copied to clipboard

Error with external dataset

Open BenjWe opened this issue 7 years ago • 1 comments

Hello, after I first trained and tested the project with the Mscoco dataset. I wanted to train this on another dataset. I've adapted the captions to fit the Flickr format and made a .token of it. There is only one Sentence for each Image. After the training process, I wanted to test the system, but I had to realize that there is only "UNK" includes words. After initial debugging steps, I was unable to locate the source of the error. In the sentences to the pictures there are words he does not recognize, but these are only isolated words and do not make up most of the words. The screenshot shows the test mode. I have made several issues here which show that in the method IDs_to_Words the <UNK> are entered words, then the sentence will be reduced after the character </ S> appears for the first time for end. Has or did someone have the same problem or does anyone know what exactly it could be? aftertestmode tokendatafile

BenjWe avatar Oct 24 '18 07:10 BenjWe

Even I want to train on an external dataset, does this repo support that?

pidugusundeep avatar Sep 09 '19 13:09 pidugusundeep