Skip to content

ImportError: cannot import name 'Dict' from 'typing' (/root/mmsegmentation/mmseg/utils/typing.py) #2547

@zccjjj

Description

@zccjjj

Thanks for your error report and we appreciate it a lot.

Checklist

  1. I have searched related issues but cannot get the expected help.
  2. The bug has not been fixed in the latest version.

Describe the bug
When I run collect_evn.py in branch dev-1.x, this error occurred.

Reproduction

  1. What command or script did you run?

python ./mmseg/utils/collect_env.py

Bug fix

I renamed the typing.py and fixed the bug. I will create a PR for it.
Thanks very much!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions