Scene-Graph-Benchmark.pytorch icon indicating copy to clipboard operation
Scene-Graph-Benchmark.pytorch copied to clipboard

How to get the predicted relationship?

Open JincanDeng opened this issue 4 years ago • 4 comments

❓ Questions and Help

It seems that the file "eval_results.pytorch" generated from the evaluation code only contains a list of "BoxList" objects, which describe the informatino about the detected objects. How can I get the predicted relationship between each pair of detected objects?

JincanDeng avatar Mar 20 '20 09:03 JincanDeng

The relationship information is saved under another file "result_dict.pytorch". Please check line 173-176 in the https://github.com/KaihuaTang/Scene-Graph-Benchmark.pytorch/blob/master/maskrcnn_benchmark/data/datasets/evaluation/vg/vg_eval.py

KaihuaTang avatar Mar 20 '20 10:03 KaihuaTang

@KaihuaTang Thanks for your reply. Now I have another question. How to evaluate on my own dataset? It seems that during inference process, we need to provide the target which is not available on other dataset.

JincanDeng avatar Mar 24 '20 12:03 JincanDeng

@KaihuaTang Thanks for your reply. Now I have another question. How to evaluate on my own dataset? It seems that during inference process, we need to provide the target which is not available on other dataset.

hi!have you solved this problem?tks

forbiddenname avatar May 23 '20 12:05 forbiddenname

@KaihuaTang Thanks for your reply. Now I have another question. How to evaluate on my own dataset? It seems that during inference process, we need to provide the target which is not available on other dataset.

hi!have you solved this problem?tks

sorry, working on the NeurIPS

KaihuaTang avatar May 23 '20 12:05 KaihuaTang