Sentence scene graph
Opened this issue · 2 comments
Hello,Thanks for your nice code. I have one question, you wrote:
1.For sentence scene graph, you can directly download the revised code in spice-1.0.jar and create_coco_sg.py, put spice-1.0.jar in /coco-caption/pycocoevalcap/spice, then you should set coco_use as coco_train or coco_val in file create_coco_sg.py, then run this code and the sentence scene graphs are generated in /coco-caption/pycocoevalcap/spice/sg.json.
But for create_coco_sg.py. we can just get a spice score, there is no code to generate sentence scene graph.
score, scores = scorer.compute_score(gts, res)
#7 Try looking at this and the show_sg.py code that the author has in the google drive
The authors modified the Java code in Spice-1.0 to generate sg.json, but very slowly