youtubevos / MaskTrackRCNN

MaskTrackRCNN for video instance segmentation based on mmdetection
Apache License 2.0
431 stars 75 forks source link

Error during test #34

Closed danperazzo closed 4 years ago

danperazzo commented 4 years ago

Hello, thanks for releasing the code! I have been having trouble initializing this code, I have performed the installation as mentioned on the README.md. But I encountered the following error: `Traceback (most recent call last): File "tools/test_video.py", line 4, in import mmcv File "/home/daniel/anaconda3/envs/MaskTrackRCNN/lib/python3.7/site-packages/mmcv/init.py", line 4, in from .fileio import * File "/home/daniel/anaconda3/envs/MaskTrackRCNN/lib/python3.7/site-packages/mmcv/fileio/init.py", line 4, in from .io import dump, load, register_handler File "/home/daniel/anaconda3/envs/MaskTrackRCNN/lib/python3.7/site-packages/mmcv/fileio/io.py", line 4, in from ..utils import is_list_of, is_str File "/home/daniel/anaconda3/envs/MaskTrackRCNN/lib/python3.7/site-packages/mmcv/utils/init.py", line 29, in from .parrots_wrapper import (CUDA_HOME, BuildExtension, CppExtension, File "/home/daniel/anaconda3/envs/MaskTrackRCNN/lib/python3.7/site-packages/mmcv/utils/parrots_wrapper.py", line 79, in _BatchNorm, InstanceNorm, SyncBatchNorm = _get_norm() File "/home/daniel/anaconda3/envs/MaskTrackRCNN/lib/python3.7/site-packages/mmcv/utils/parrots_wrapper.py", line 71, in _getnorm SyncBatchNorm = torch.nn.SyncBatchNorm AttributeError: module 'torch.nn' has no attribute 'SyncBatchNorm'

Thank you for your attention! `

danperazzo commented 4 years ago

Solved with this issue