-
Notifications
You must be signed in to change notification settings - Fork 67
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
请问这个框架不支持蒸馏吗? #52
Comments
If you want to use distill, you need add tasks export DEFAULT_TASKS=cls:distill @ersanliqiao |
多谢,改完可以跑了,另外,想问下我跑nas,导入task也改了(export DEFAULT_TASKS=cls:bignas
|
Maybe you need to set DEFAULT_TASKS=cls:nas @ersanliqiao |
Why did I add export DEFAULT_TASKS=cls:distill as you mentioned above, but I got the following error:
This seems to be the same as the error I reported before when I did not export any tasks. How can I solve it? Looking forward to your reply? @yqyao |
If you want to use advanced features, maybe you need to compile extensions. following the docs @TheWangYang |
Traceback (most recent call last):
File "/opt/conda/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/opt/conda/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/data/juicefs_hz_cv_v3/11105507/AAAI2022/united-perception2/up/main.py", line 31, in
main()
File "/data/juicefs_hz_cv_v3/11105507/AAAI2022/united-perception2/up/main.py", line 25, in main
args.run(args)
File "/data/juicefs_hz_cv_v3/11105507/AAAI2022/united-perception2/up/commands/train.py", line 161, in _main
launch(main, args.num_gpus_per_machine, args.num_machines, args=args, start_method=args.fork_method)
File "/data/juicefs_hz_cv_v3/11105507/AAAI2022/united-perception2/up/utils/env/launch.py", line 68, in launch
main_func(*(args,))
File "/data/juicefs_hz_cv_v3/11105507/AAAI2022/united-perception2/up/commands/train.py", line 140, in main
runner = RUNNER_REGISTRY.get(runner_cfg['type'])(cfg, **runner_cfg['kwargs'])
File "/data/juicefs_hz_cv_v3/11105507/AAAI2022/united-perception2/up/utils/general/registry.py", line 81, in get
assert module_name in self, '{} is not supported, avaiables are:{}'.format(module_name, self)
AssertionError: kd is not supported, avaiables are:{'base': <class 'up.runner.base_runner.BaseRunner'>}
The text was updated successfully, but these errors were encountered: