Skip to content
New issue

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

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

Already on GitHub? # to your account

Colob 上执行报错 AttributeError: module 'torch._six' has no attribute 'PY3' 重启内核 无法解决 #55

Open
tianrking opened this issue Sep 18, 2021 · 1 comment

Comments

@tianrking
Copy link

Traceback (most recent call last):
File "tools/train_test_net.py", line 8, in
from maskrcnn_benchmark.utils.env import setup_environment # noqa F401 isort:skip
File "/content/TinyBenchmark/tiny_benchmark/maskrcnn_benchmark/utils/env.py", line 4, in
from maskrcnn_benchmark.utils.imports import import_file
File "/content/TinyBenchmark/tiny_benchmark/maskrcnn_benchmark/utils/imports.py", line 4, in
if torch._six.PY3:
AttributeError: module 'torch._six' has no attribute 'PY3'

@yxxxxxhh111
Copy link

same question

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

No branches or pull requests

2 participants