Replies: 3 comments 3 replies
-
解决了
…------------------ 原始邮件 ------------------
发件人: yuchen152 ***@***.***>
发送时间: 2023年6月14日 12:00
收件人: open-mmlab/mmselfsup ***@***.***>
抄送: tj250 ***@***.***>, Author ***@***.***>
主题: Re: [open-mmlab/mmselfsup] 开启自监督预训练时出错:ModuleNotFoundError: No module named 'mmselfsup.engine.runner,分析不出来问题原因,可能是mmengine和mmselfsup版本不匹配么?谁能告诉我答案 (Discussion #755)
|
Beta Was this translation helpful? Give feedback.
2 replies
-
我的原因是训练的配置文件里面有一些系统无法识别的配置项导致的
…------------------ 原始邮件 ------------------
发件人: yuchen152 ***@***.***>
发送时间: 2023年6月14日 12:18
收件人: open-mmlab/mmselfsup ***@***.***>
抄送: tj250 ***@***.***>, Author ***@***.***>
主题: Re: [open-mmlab/mmselfsup] 开启自监督预训练时出错:ModuleNotFoundError: No module named 'mmselfsup.engine.runner,分析不出来问题原因,可能是mmengine和mmselfsup版本不匹配么?谁能告诉我答案 (Discussion #755)
请问是怎么解决的 我也遇到了这个问题
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Traceback (most recent call last):
File "tools/train.py", line 96, in
main()
File "tools/train.py", line 92, in main
runner.train()
File "/home/geofly/miniconda3/envs/openmmlab2/lib/python3.8/site-packages/mmengine/runner/runner.py", line 1687, in train
self._train_loop = self.build_train_loop(
File "/home/geofly/miniconda3/envs/openmmlab2/lib/python3.8/site-packages/mmengine/runner/runner.py", line 1479, in build_train_loop
loop = LOOPS.build(
File "/home/geofly/miniconda3/envs/openmmlab2/lib/python3.8/site-packages/mmengine/registry/registry.py", line 548, in build
return self.build_func(cfg, *args, **kwargs, registry=self)
File "/home/geofly/miniconda3/envs/openmmlab2/lib/python3.8/site-packages/mmengine/registry/build_functions.py", line 98, in build_from_cfg
obj_cls = registry.get(obj_type)
File "/home/geofly/miniconda3/envs/openmmlab2/lib/python3.8/site-packages/mmengine/registry/registry.py", line 442, in get
self.import_from_location()
File "/home/geofly/miniconda3/envs/openmmlab2/lib/python3.8/site-packages/mmengine/registry/registry.py", line 376, in import_from_location
import_module(loc)
File "/home/geofly/miniconda3/envs/openmmlab2/lib/python3.8/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 973, in _find_and_load_unlocked
### ModuleNotFoundError: No module named 'mmselfsup.engine.runner'
Beta Was this translation helpful? Give feedback.
All reactions