hikvision-research / SSOD

An official implementation of CVPR 2022 paper "Label Matching Semi-Supervised Object Detection".
Apache License 2.0
140 stars 14 forks source link

AttributeError: 'SemiEvalHook' object has no attribute 'evaluation_flag' #12

Open Ss-shuang123 opened 2 years ago

Ss-shuang123 commented 2 years ago

i could not find this function

hhllxx1121 commented 1 year ago

Did you solve it, please?

HuGang99 commented 11 months ago

Reason: mmdetection-2.10.0/mmdet/core/evaluation/eval_hooks.py Line 123 "def evaluation_flag(self, runner):" with evaluation_flag attribute, but is not present in version 2.28.0. Solution: Modify "mmdet_extension/core/hooks/semi_eval_hooks.py" Relevant codes, or replace mmcv-full and mmdet versions, I choose the latter.