You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tools/deployment/pytorch2onnx.py:283: UserWarning: Arguments like --mean, --std, --dataset would be parsed directly from config file and are deprecated and will be removed in future releases.
warnings.warn('Arguments like --mean, --std, --dataset would be
C:\Users\User\miniconda3\envs\openmmlab\lib\site-packages\mmcv\onnx\symbolic.py:481: UserWarning: ←[107m←[1m←[31mDeprecationWarning: This function will be deprecated in future. ←[34mWelcome to use the unified model deployment toolbox MMDeploy: https://github.com/open-mmlab/mmdeploy←[0m
warnings.warn(msg)
Traceback (most recent call last):
File "C:\Users\User\miniconda3\envs\openmmlab\lib\site-packages\mmcv\utils\config.py", line 103, in _validate_py_syntax
ast.parse(content)
File "C:\Users\User\miniconda3\envs\openmmlab\lib\ast.py", line 47, in parse
return compile(source, filename, mode, flags,
File "", line 8
<!DOCTYPE html>
^
SyntaxError: invalid syntax
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "tools/deployment/pytorch2onnx.py", line 295, in
cfg = Config.fromfile(args.config)
File "C:\Users\User\miniconda3\envs\openmmlab\lib\site-packages\mmcv\utils\config.py", line 340, in fromfile
cfg_dict, cfg_text = Config._file2dict(filename,
File "C:\Users\User\miniconda3\envs\openmmlab\lib\site-packages\mmcv\utils\config.py", line 207, in _file2dict
Config._validate_py_syntax(filename)
File "C:\Users\User\miniconda3\envs\openmmlab\lib\site-packages\mmcv\utils\config.py", line 105, in _validate_py_syntax
raise SyntaxError('There are syntax errors in config '
SyntaxError: There are syntax errors in config file C:\Users\User\mmdetection\ssd300_coco.py: invalid syntax (, line 8)](https://github.com/open-mmlab/mmdetection/discussions/new)](https://github.com/open-mmlab/mmdetection/discussions/new)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
[[(openmmlab) C:\Users\User\mmdetection>python tools/deployment/pytorch2onnx.py ssd300_coco.py weights.pth
tools/deployment/pytorch2onnx.py:283: UserWarning: Arguments like
--mean
,--std
,--dataset
would be parsed directly from config file and are deprecated and will be removed in future releases.warnings.warn('Arguments like
--mean
,--std
,--dataset
would beC:\Users\User\miniconda3\envs\openmmlab\lib\site-packages\mmcv\onnx\symbolic.py:481: UserWarning: ←[107m←[1m←[31mDeprecationWarning: This function will be deprecated in future. ←[34mWelcome to use the unified model deployment toolbox MMDeploy: https://github.com/open-mmlab/mmdeploy←[0m
warnings.warn(msg)
Traceback (most recent call last):
File "C:\Users\User\miniconda3\envs\openmmlab\lib\site-packages\mmcv\utils\config.py", line 103, in _validate_py_syntax
ast.parse(content)
File "C:\Users\User\miniconda3\envs\openmmlab\lib\ast.py", line 47, in parse
return compile(source, filename, mode, flags,
File "", line 8
SyntaxError: invalid syntax
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "tools/deployment/pytorch2onnx.py", line 295, in
cfg = Config.fromfile(args.config)
File "C:\Users\User\miniconda3\envs\openmmlab\lib\site-packages\mmcv\utils\config.py", line 340, in fromfile
cfg_dict, cfg_text = Config._file2dict(filename,
File "C:\Users\User\miniconda3\envs\openmmlab\lib\site-packages\mmcv\utils\config.py", line 207, in _file2dict
Config._validate_py_syntax(filename)
File "C:\Users\User\miniconda3\envs\openmmlab\lib\site-packages\mmcv\utils\config.py", line 105, in _validate_py_syntax
raise SyntaxError('There are syntax errors in config '
SyntaxError: There are syntax errors in config file C:\Users\User\mmdetection\ssd300_coco.py: invalid syntax (, line 8)](https://github.com/open-mmlab/mmdetection/discussions/new)](https://github.com/open-mmlab/mmdetection/discussions/new)
Beta Was this translation helpful? Give feedback.
All reactions