regarding the COCO Test server scene graphs
Opened this issue · 2 comments
fawazsammani commented
Hello @yangxuntu . Thanks for your work!
I'm using the data you provided for the COCO Online Testing server: coco_pred_sg_test.npy
. May I know which dictionary is associated for this? I need the scene graphs of the images, just like rela_matrix
in coco_img_sg
. It seems that the rela_matrix
is the same as rela_pred
in the file coco_pred_sg_test.npy
.
However, when I use the coco_pred_sg_rela.npy
dictionary, the results are wierd, as seen below:
sgs= np.load('coco_pred_sg_test.npy')[()]
for row in sgs['275']['rela_pred']:
print("{0}-{1}-{2}".format(sg_dict[row[0]], sg_dict[row[2]], sg_dict[row[1]]))
shade-clock-monitor
back-clock-shade
clock-curtain-back
clock-back-curtain
clock-curtain-back
back-man-shade
clock-build-back
build-back-keyboard
clock-build-door
shade-back-monitor
headlight-bike-back
build-keyboard-headlight
Any help is appreciated.
yangxuntu commented
I will check it recently.
…________________________________
发件人: Zhihao Fan <notifications@github.com>
发送时间: 2020年5月2日 21:57
收件人: yangxuntu/SGAE <SGAE@noreply.github.com>
抄送: #YANG XU# <S170018@e.ntu.edu.sg>; Mention <mention@noreply.github.com>
主题: Re: [yangxuntu/SGAE] regarding the COCO Test server scene graphs (#18)
Hi, have you figure this out? Which one is for COCO online evaluation, coco_pred_sg_rela.npy or coco_pred_sg_test.npy?
―
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#18 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AJEJUOVRDGRZ5MTEPO3OFOLRPQRCZANCNFSM4JUQ4TPA>.
Archer-Fang commented
@yangxuntu I meet the same question. Have u checked it now?