a-PyTorch-Tutorial-to-Image-Captioning
a-PyTorch-Tutorial-to-Image-Captioning copied to clipboard
Expected output for running caption.py
Hi,
I'm running caption.py with pretrained model just for inference. After I run the model it just outputs
<Figure size 640x480 with 10 Axes>
with a bunch of warnings which I guess it's ok to ignore. But how can I get the output option from it then?
Thanks in advance
@lisaliu1997 I also met this problem and I think it might be due to the window size. So that plt.show() did not work. To solve this, you can add one more line to the code header %matplotlib inline. My code is here:

Hope this can help you, although it might be too late now:)