aimagelab/show-control-and-tell

Got some trouble with install speaksee

Closed this issue · 5 comments

Thanks for sharing,
I got ERROR when I install the requirement torch, the situation is the same as seen in the photo.
image

Is there any way to solve it?

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.
1572336749494

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!
1573650778679

@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.
Screenshot_20200428_153843