caption_generator icon indicating copy to clipboard operation
caption_generator copied to clipboard

A modular library built on top of Keras and TensorFlow to generate a caption in natural language for any input image.

Results 28 caption_generator issues
Sort by recently updated
recently updated
newest added

I have trained the model and the loss is 1.16, acc is 0.7574. But when I take the model to generate caption , the caption is excursive and have no...

ValueError: `decode_predictions` expects a batch of predictions (i.e. a 2D array of shape (samples, 1000)). Found array with shape: (1, 14, 14, 512) When I ran .. model = VGG16(include_top=False,...

raise RuntimeError('You must compile your model before using it.') RuntimeError: You must compile your model before using it.

Hi. While executing the test.py file. I am getting the following error. terminate_id = tokens.index('') ValueError: '' is not in list

Running prepare_dataset.py is okay. When I run test_model.py, I found the following error. How should I change code? Please guide me! C:\Anaconda3\envs\caption_generator-master\python.exe D:/code/Python/caption_generator-master/caption_generator/train_model.py Using TensorFlow backend. Total samples : 383454...

Hey when i try to train the model i am getting the following error: Using TensorFlow backend. 413439 WARNING:tensorflow:From C:\Users\UserName\Anaconda3\lib\site-packages\tensorflow\python\framework\op_def_library.py:263: colocate_with (from tensorflow.python.framework.ops) is deprecated and will be removed in...

Hello, I've followed your instructions and started training the network. The loss reaches its minimum value after about 5 epochs and then it starts to diverge again. After 50 epochs,...