Skip to content
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

SyntaxError: unmatched ')' [Bug] #2862

Open
3 tasks done
Inscredion opened this issue Jul 22, 2024 · 0 comments
Open
3 tasks done

SyntaxError: unmatched ')' [Bug] #2862

Inscredion opened this issue Jul 22, 2024 · 0 comments
Assignees

Comments

@Inscredion
Copy link

Branch

main branch (1.x version, such as v1.0.0, or dev-1.x branch)

Prerequisite

Environment

source install

Describe the bug

[2024-07-22 16:09:32,318] [INFO] [real_accelerator.py:203:get_accelerator] Setting ds_accelerator to cuda (auto detect)
[WARNING] async_io requires the dev libaio .so object and headers but these were not found.
[WARNING] async_io: please install the libaio-dev package with apt
[WARNING] If libaio is already installed (perhaps from source), try setting the CFLAGS and LDFLAGS environment variables to where it can be found.
[WARNING] Please specify the CUTLASS repo directory as environment variable $CUTLASS_PATH
[WARNING] NVIDIA Inference is only supported on Ampere and newer architectures
[WARNING] using untested triton version (2.0.0), only 1.0.0 is known to be compatible
Traceback (most recent call last):
File "/home/41875/10_Private/zhang_chi9/pro/Video/mmaction2-main/tools/train.py", line 143, in
main()
File "/home/41875/10_Private/zhang_chi9/pro/Video/mmaction2-main/tools/train.py", line 124, in main
cfg = Config.fromfile(args.config)
File "/root/anaconda3/envs/clip/lib/python3.10/site-packages/mmengine/config/config.py", line 460, in fromfile
lazy_import is None and not Config._is_lazy_import(filename):
File "/root/anaconda3/envs/clip/lib/python3.10/site-packages/mmengine/config/config.py", line 1663, in _is_lazy_import
parsed_codes = ast.parse(codes_str)
File "/root/anaconda3/envs/clip/lib/python3.10/ast.py", line 50, in parse
return compile(source, filename, mode, flags,_feature_version=feature_version)
File "", line 16
)
^
SyntaxError: unmatched ')'

Reproduces the problem - code sample

No response

Reproduces the problem - command or script

No response

Reproduces the problem - error message

[2024-07-22 16:09:32,318] [INFO] [real_accelerator.py:203:get_accelerator] Setting ds_accelerator to cuda (auto detect)
[WARNING] async_io requires the dev libaio .so object and headers but these were not found.
[WARNING] async_io: please install the libaio-dev package with apt
[WARNING] If libaio is already installed (perhaps from source), try setting the CFLAGS and LDFLAGS environment variables to where it can be found.
[WARNING] Please specify the CUTLASS repo directory as environment variable $CUTLASS_PATH
[WARNING] NVIDIA Inference is only supported on Ampere and newer architectures
[WARNING] using untested triton version (2.0.0), only 1.0.0 is known to be compatible
Traceback (most recent call last):
File "/home/41875/10_Private/zhang_chi9/pro/Video/mmaction2-main/tools/train.py", line 143, in
main()
File "/home/41875/10_Private/zhang_chi9/pro/Video/mmaction2-main/tools/train.py", line 124, in main
cfg = Config.fromfile(args.config)
File "/root/anaconda3/envs/clip/lib/python3.10/site-packages/mmengine/config/config.py", line 460, in fromfile
lazy_import is None and not Config._is_lazy_import(filename):
File "/root/anaconda3/envs/clip/lib/python3.10/site-packages/mmengine/config/config.py", line 1663, in _is_lazy_import
parsed_codes = ast.parse(codes_str)
File "/root/anaconda3/envs/clip/lib/python3.10/ast.py", line 50, in parse
return compile(source, filename, mode, flags,_feature_version=feature_version)
File "", line 16
)
^
SyntaxError: unmatched ')'

Additional information

No response

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

No branches or pull requests

2 participants