HAL-42/FMA-WSSS

SegVisualizationHook.__init__() got an unexpected keyword argument 'save_prob'

Opened this issue · 1 comments

J-Lam0 commented

when I focus on stage 2, I use mmcv2.1.0 mmdet 3.3.0 mmengine 0.7.3 mmsegmentation 1.2.2 to train the segmentation network successfully. do u know why the error shown below occur when i test the segmentation network and how to solve it?
TypeError: class SegVisualizationHook in mmseg/engine/hooks/visualization_hook.py: SegVisualizationHook.init() got an unexpected keyword argument 'save_prob'

HAL-42 commented

The mmseg I use has been modified to support saving the logits generated during inference. Please use the mmseg provided by this repository. Alternatively, you can remove all save_prob items from the configuration file.