Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error #107

Closed
chl916185 opened this issue Mar 3, 2023 · 1 comment
Closed

error #107

chl916185 opened this issue Mar 3, 2023 · 1 comment

Comments

@chl916185
Copy link

Traceback (most recent call last):
File "", line 971, in _find_and_load
File "", line 955, in _find_and_load_unlocked
File "", line 665, in load_unlocked
File "", line 678, in exec_module
File "", line 219, in call_with_frames_removed
File "D:\soft_files\anconda3\envs\mmseg\lib\site-packages\mmeval_init
.py", line 7, in
from .metrics import *
File "D:\soft_files\anconda3\envs\mmseg\lib\site-packages\mmeval\metrics_init
.py", line 12, in
from .multi_label import AveragePrecision, MultiLabelMetric
File "D:\soft_files\anconda3\envs\mmseg\lib\site-packages\mmeval\metrics\multi_label.py", line 171, in
class MultiLabelMetric(MultiLabelMixin, BaseMetric):
File "D:\soft_files\anconda3\envs\mmseg\lib\site-packages\mmeval\metrics\multi_label.py", line 380, in MultiLabelMetric
labels: Sequence['torch.Tensor']) -> List:
File "D:\soft_files\anconda3\envs\mmseg\lib\site-packages\mmeval\core\dispatcher.py", line 236, in call
signature._return_annotation) # type: ignore
File "D:\soft_files\anconda3\envs\mmseg\lib\site-packages\mmeval\core\dispatcher.py", line 218, in _traverse_type_hints
for tp_arg in annotation.args:
TypeError: 'NoneType' object is not iterable

@zhouzaida
Copy link
Collaborator

zhouzaida commented Mar 3, 2023

Hi, this issue had been resolved by #77. You can refer to #77 to fix this issue or install mmeval from source.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants