You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when i want to use it in mmdetection ,there is an error.
Error:
Traceback (most recent call last):
File "/home/wangchang2/mmdetection/mmdetection/tools/featuremap_analyze.py", line 5, in
import cv2
File "/home/wangchang2/anaconda3/envs/mmdeploy/lib/python3.7/site-packages/cv2/init.py", line 11, in
import numpy
File "/home/wangchang2/anaconda3/envs/mmdeploy/lib/python3.7/site-packages/numpy/init.py", line 138, in
from ._version import get_versions
File "/home/wangchang2/anaconda3/envs/mmdeploy/lib/python3.7/site-packages/numpy/_version.py", line 7, in
import json
File "/home/wangchang2/mmdetection/mmdetection/tools/json.py", line 5, in
import mmcv
File "/home/wangchang2/anaconda3/envs/mmdeploy/lib/python3.7/site-packages/mmcv/init.py", line 3, in
from .arraymisc import *
File "/home/wangchang2/anaconda3/envs/mmdeploy/lib/python3.7/site-packages/mmcv/arraymisc/init.py", line 2, in
from .quantization import dequantize, quantize
File "/home/wangchang2/anaconda3/envs/mmdeploy/lib/python3.7/site-packages/mmcv/arraymisc/quantization.py", line 5, in
def quantize(arr, min_val, max_val, levels, dtype=np.int64):
AttributeError: module 'numpy' has no attribute 'int64'
No description provided.
The text was updated successfully, but these errors were encountered: