Image-Caption-Generator icon indicating copy to clipboard operation
Image-Caption-Generator copied to clipboard

How can I get a longer caption output by running test.py?

Open yyaauto opened this issue 1 year ago • 1 comments

"In config.py, we can modify the parameter max_length. However, for my trained model, max_length can only be 26. **** If I change it to another number, it will throw an error: ValueError: Error when checking input: expected input_3 to have shape (26,) but got array with shape (52,)."

yyaauto avatar Aug 16 '24 09:08 yyaauto