mirror of
https://github.com/open-mmlab/mmsegmentation.git
synced 2025-06-03 22:03:48 +08:00
## Motivation In encode_decoder.py , assertion logic is not working correctly if user modifes cfg.test_cfg and defines it in a dictionary format. See: https://github.com/open-mmlab/mmsegmentation/issues/3011 ## Modification Slight change to assertion behaviour to change assertion depending on if received test_cfg object is a dict or not. ## BC-breaking (Optional) Unsure - I believe this will not break any downstream tasks as the previous logic is still included ## Use cases (Optional) n/a --------- Co-authored-by: xiexinch <xiexinch@outlook.com>