Scalsol / mega.pytorch

Memory Enhanced Global-Local Aggregation for Video Object Detection, CVPR2020
Other
565 stars 115 forks source link

No module named 'mega_core' #59

Open wspspring opened 3 years ago

wspspring commented 3 years ago

执行python -m torch.distributed.launch --nproc_per_node 4 tools/test_net.py --config-file configs/MEGA/vid_R_101_C4_MEGA_1x.yaml --motion-specific MODEL.WEIGHT MEGA_R_101.pth,报错:ModuleNotFoundError: No module named 'mega_core' ,请问是引入方式需要调整吗

nengbunengzhengdianqi commented 3 years ago

执行python -m torch.distributed.launch --nproc_per_node 4 tools/test_net.py --config-file configs/MEGA/vid_R_101_C4_MEGA_1x.yaml --motion-specific MODEL.WEIGHT MEGA_R_101.pth,报错:ModuleNotFoundError: No module named 'mega_core' ,请问是引入方式需要调整吗

are you fixed this problem? maybe update GCC can solve it according to the blog

Zhangming001 commented 3 years ago

你好,请问这个问题你解决了吗

SpongeBab commented 3 years ago

执行python -m torch.distributed.launch --nproc_per_node 4 tools/test_net.py --config-file configs/MEGA/vid_R_101_C4_MEGA_1x.yaml --motion-specific MODEL.WEIGHT MEGA_R_101.pth,报错:ModuleNotFoundError: No module named 'mega_core' ,请问是引入方式需要调整吗

have you solve this question?

SpongeBab commented 3 years ago

执行python -m torch.distributed.launch --nproc_per_node 4 tools/test_net.py --config-file configs/MEGA/vid_R_101_C4_MEGA_1x.yaml --motion-specific MODEL.WEIGHT MEGA_R_101.pth,报错:ModuleNotFoundError: No module named 'mega_core' ,请问是引入方式需要调整吗

are you fixed this problem? maybe update GCC can solve it according to the blog

have you solve the question?

returnlsz commented 4 months ago

export PYTHONPATH="${PYTHONPATH}:autodl-tmp/mega.pytorch/mega_core" 使用这个指令在虚拟环境中导入mega_core的地址即可