Closed AlanHuang1998 closed 4 years ago
Hi @AlanHuang1998, did you solve the problem?
@marcellacornia Solved it, but got another problem, when I use "python test_region_set.py --dataset coco --exp_name ours --sample_rl_nw" to run, looks like take too long time to download something, so the server shutdown the connection, photo below.
I'm rookie in image caption, want to ask how to train the model to get sentences. Just like you demonstrated.
The tgz file is needed to calculate the spice metric. If the download is too slow, you can comment the two lines of code that calculate the spice score.
val_spice, _ = Spice().compute_score(gts_t, gen_t)
print('SPICE', val_spice)
Thanks for your help! I follow your instructions and get each score. Want to ask how to use the model to get a full sentences, like the picture below. Thank you!
@marcellacornia @AlanHuang1998
When I run python test_region_set.py --dataset coco --exp_name ours --sample_rl_nw,
i get import errors of speaksee.data. However the installation shows successful.
Thanks for sharing, I got ERROR when I install the requirement torch, the situation is the same as seen in the photo.
Is there any way to solve it?