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

When I test the Model ,I got this error. #24

Closed
zhaoleo1111 opened this issue Oct 16, 2020 · 2 comments
Closed

When I test the Model ,I got this error. #24

zhaoleo1111 opened this issue Oct 16, 2020 · 2 comments
Labels
installation Installation failed

Comments

@zhaoleo1111
Copy link

Traceback (most recent call last):
File "test_net.py", line 8, in
from alphaction.modeling.detector import build_detection_model
File "/home/leo/AlphAction/alphaction/modeling/detector/init.py", line 1, in
from .action_detector import build_detection_model
File "/home/leo/AlphAction/alphaction/modeling/detector/action_detector.py", line 3, in
from ..backbone import build_backbone
File "/home/leo/AlphAction/alphaction/modeling/backbone/init.py", line 1, in
from .backbone import build_backbone
File "/home/leo/AlphAction/alphaction/modeling/backbone/backbone.py", line 2, in
from . import slowfast, i3d
File "/home/leo/AlphAction/alphaction/modeling/backbone/slowfast.py", line 6, in
from alphaction.modeling.common_blocks import ResNLBlock
File "/home/leo/AlphAction/alphaction/modeling/common_blocks.py", line 2, in
from alphaction.modeling.nonlocal_block import NLBlock
File "/home/leo/AlphAction/alphaction/modeling/nonlocal_block.py", line 6, in
from alphaction.layers import FrozenBatchNorm3d
File "/home/leo/AlphAction/alphaction/layers/init.py", line 3, in
from .roi_align_3d import ROIAlign3d
File "/home/leo/AlphAction/alphaction/layers/roi_align_3d.py", line 7, in
import alphaction._custom_cuda_ext as _C
ModuleNotFoundError: No module named 'alphaction._custom_cuda_ext'
Traceback (most recent call last):
File "/home/leo/anaconda3/envs/mmaction2/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/home/leo/anaconda3/envs/mmaction2/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/leo/anaconda3/envs/mmaction2/lib/python3.6/site-packages/torch/distributed/launch.py", line 263, in
main()
File "/home/leo/anaconda3/envs/mmaction2/lib/python3.6/site-packages/torch/distributed/launch.py", line 259, in main
cmd=cmd)
subprocess.CalledProcessError: Command '['/home/leo/anaconda3/envs/mmaction2/bin/python', '-u', 'test_net.py', '--local_rank=0', '--config-file', 'config_files/resnet50_4x16f_baseline.yaml', 'MODEL.WEIGHT', 'Models/resnet50_4x16f_baseline.pth']' returned non-zero exit status 1.

@yelantf
Copy link
Collaborator

yelantf commented Oct 16, 2020

Please make sure that you have cloned the newest version and successfully installed the project strictly following INSTALL.md. Also, you may refer to #10 for some potentially helpful information.

@yelantf yelantf added the installation Installation failed label Oct 16, 2020
@yelantf
Copy link
Collaborator

yelantf commented Oct 28, 2020

Issue closed due to the lack of response.

@yelantf yelantf closed this as completed Oct 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
installation Installation failed
Projects
None yet
Development

No branches or pull requests

2 participants