You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PS E:\pycharm\network\mmsegmentation> & D:/software/anaconda3/install/envs/mmlab/python.exe e:/pycharm/network/mmsegmentation/tools/analysis_tools/get_flops.py
e:\pycharm\mmsegmentation\mmseg\models\builder.py:36: UserWarning: build_loss would be deprecated soon, please use mmseg.registry.MODELS.build()
warnings.warn('build_loss would be deprecated soon, please use '
e:\pycharm\mmsegmentation\mmseg\models\losses\cross_entropy_loss.py:249: UserWarning: Default avg_non_ignore is False, if you would like to ignore the certain label and average loss over non-ignore labels, which is the same with PyTorch official cross_entropy, set avg_non_ignore=True.
warnings.warn(
Traceback (most recent call last):
File "e:\pycharm\network\mmsegmentation\tools\analysis_tools\get_flops.py", line 126, in
main()
File "e:\pycharm\network\mmsegmentation\tools\analysis_tools\get_flops.py", line 106, in main
result = inference(args, logger)
File "e:\pycharm\network\mmsegmentation\tools\analysis_tools\get_flops.py", line 85, in inference
if cfg.model.decode_head.type in ['MaskFormerHead', 'Mask2FormerHead']:
AttributeError: 'list' object has no attribute 'type'
The text was updated successfully, but these errors were encountered:
PS E:\pycharm\network\mmsegmentation> & D:/software/anaconda3/install/envs/mmlab/python.exe e:/pycharm/network/mmsegmentation/tools/analysis_tools/get_flops.py
e:\pycharm\mmsegmentation\mmseg\models\builder.py:36: UserWarning:
build_loss
would be deprecated soon, please usemmseg.registry.MODELS.build()
warnings.warn('
build_loss
would be deprecated soon, please use 'e:\pycharm\mmsegmentation\mmseg\models\losses\cross_entropy_loss.py:249: UserWarning: Default
avg_non_ignore
is False, if you would like to ignore the certain label and average loss over non-ignore labels, which is the same with PyTorch official cross_entropy, setavg_non_ignore=True
.warnings.warn(
Traceback (most recent call last):
File "e:\pycharm\network\mmsegmentation\tools\analysis_tools\get_flops.py", line 126, in
main()
File "e:\pycharm\network\mmsegmentation\tools\analysis_tools\get_flops.py", line 106, in main
result = inference(args, logger)
File "e:\pycharm\network\mmsegmentation\tools\analysis_tools\get_flops.py", line 85, in inference
if cfg.model.decode_head.type in ['MaskFormerHead', 'Mask2FormerHead']:
AttributeError: 'list' object has no attribute 'type'
The text was updated successfully, but these errors were encountered: