SHA-GCL-for-SGG icon indicating copy to clipboard operation
SHA-GCL-for-SGG copied to clipboard

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

Open liuzhenqi1999 opened this issue 1 year ago • 4 comments

147846cebc3035857fa7201196e2354

liuzhenqi1999 avatar Oct 10 '23 09:10 liuzhenqi1999

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

dongxingning avatar Oct 14 '23 06:10 dongxingning

thank you

liuzhenqi1999 avatar Oct 29 '23 10:10 liuzhenqi1999

谢谢

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 avatar Mar 18 '24 03:03 Lxy811

谢谢

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

Lxy811 avatar Mar 18 '24 03:03 Lxy811