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
mypy 1.11.0 (compiled: yes)
monai/transforms/croppad/functional.py:51:18: error: Incompatible types in assignment (expression has type "NdarrayTensor", variable has type "ndarray[Any, Any]") [assignment]
monai/visualize/img2tensorboard.py:179:21: error: Incompatible types in assignment (expression has type "Union[ndarray[Any, Any], Any, NdarrayTensor]", variable has type "ndarray[Any, Any]") [assignment]
monai/metrics/cumulative_average.py:76:19: error: Incompatible types in assignment (expression has type "ndarray[Any, Any]", variable has type "Tensor") [assignment]
monai/metrics/cumulative_average.py:102:19: error: Incompatible types in assignment (expression has type "ndarray[Any, Any]", variable has type "Tensor") [assignment]
monai/metrics/rocauc.py:91:9: error: Incompatible types in assignment (expression has type "ndarray[Any, Any]", variable has type "Tensor") [assignment]
monai/metrics/rocauc.py:92:14: error: Incompatible types in assignment (expression has type "ndarray[Any, Any]", variable has type "Tensor") [assignment]
monai/metrics/panoptic_quality.py:277:20: error: Incompatible types in assignment (expression has type "ndarray[Any, Any]", variable has type "Tensor") [assignment]
monai/auto3dseg/analyzer.py:473:28: error: Incompatible types in assignment (expression has type "ndarray[Any, Any]", variable has type "MetaTensor") [assignment]
Found 8 errors in 6 files (checked 1179 source files)
Activity
fix Project-MONAI#7947
Fix Incompatible types in assignment issue (#7950)