from mmdet.apis import (get_root_logger, init_dist, set_random_seed,train_detector) File "/home/hdc/anaconda3/envs/mmdetection/lib/python3.6/site-packages/mmdet/apis/init.py", line 2, in from .inference import (inference_detector, init_detector, show_result, File "/home/hdc/anaconda3/en...
I am getting this error:ImportError: cannot import name 'get_dist_info' from 'mmcv.runner.utils' I have installed mmdetection as per yourinstructionsand also tried forconda-instruction. I updatedmmcvas per the suggestions got online but nothing is working. Now my mmcv version is...
ImportError: cannot import name 'get_dist_info' from 'mmcv.runner.utils' (/home/cx/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/mmcv/runner/utils.py) anyone could help me with this issue? Collaborator ZwwWayne commented Dec 14, 2019 Hi @XavierCHEN34 , You might need to update...
ImportError: cannot import name 'force_fp32' from 'mmcv.runner' (/home/fsr/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/mmcv/runner/init.py) Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment...
importnumpyasnpxv,yv=np.meshgrid(np.arange(3),np.arange(2))print(xv.flags['C_CONTIGUOUS'],yv.flags['C_CONTIGUOUS'])# True Trueimporttorchxv,yv=torch.meshgrid(torch.arange(3),torch.arange(2),indexing='xy')print(xv.is_contiguous(),yv.is_contiguous())# False Falsexv,yv=torch.meshgrid...
I try to install mmcv-full using below the version of cuda I have installed, some errors occur. But when I install pytorch using below the version of cuda I have installed, it also can work, do you have some idea to slove it? Maybe a suc...
I'm trying to install mmdetection, following the INSTALL.md instruction. Nothing goes wrong before command 'pip install mmcv'. I checked pytorch by 'torch.cuda.is_available()' and receive a True. I'm in conda environment 'open-mmlab'. An...