dongxingning / SHA-GCL-for-SGG

Code for paper "Stacked Hybrid-Attention and Group Collaborative Learning for Unbiased Scene Graph Generation"
MIT License
32 stars 5 forks source link

KeyError: 'Non-existent config key: MODEL.ROI_BOX_HEAD.VG_NUM_CLASSES',What is the reason for this #14

Open liuzhenqi1999 opened 9 months ago

liuzhenqi1999 commented 9 months ago

147846cebc3035857fa7201196e2354

dongxingning commented 9 months ago

Well, it seems that you changed the setting of the provided .yaml file. "MODEL.ROI_BOX_HEAD.VG_NUM_CLASSES" is a pre-defined parameter that controls the object classification, where =151 for the VG dataset. Maybe you could check the .yaml file twice? I hope this may be helpful to you.

截屏2023-10-14 14 47 32
liuzhenqi1999 commented 9 months ago

thank you

Lxy811 commented 4 months ago

谢谢

Well, it seems that you changed the setting of the provided .yaml file. "MODEL.ROI_BOX_HEAD.VG_NUM_CLASSES" is a pre-defined parameter that controls the object classification, where =151 for the VG dataset. Maybe you could check the .yaml file twice? I hope this may be helpful to you.

截屏2023-10-14 14 47 32

Hello, also encountered the same problem, yaml file has this configuration, what is the reason?

Lxy811 commented 4 months ago

谢谢

Well, it seems that you changed the setting of the provided .yaml file. "MODEL.ROI_BOX_HEAD.VG_NUM_CLASSES" is a pre-defined parameter that controls the object classification, where =151 for the VG dataset. Maybe you could check the .yaml file twice? I hope this may be helpful to you.

截屏2023-10-14 14 47 32

Hello, also encountered the same problem, yaml file has this configuration, what is the reason?

Resolved, the environment needs to be reinstalled maskrcnn-benchmark