Open treksis opened 1 year ago
I had the same problem in Google Colab. I have solved it now.
!pip install numpy scipy numba --upgrade
and restart the runtime.After updating numpy, I executed the following code. And it worked.
!pip install openmim>=0.2.1
#!mim install mmcv-full>=1.6.1
!pip install mmcv-full==1.7.0 -f https://download.openmmlab.com/mmcv/dist/cu116/torch1.13/index.html
!pip install mmdet>=2.25.1
!pip install mmpose>=0.28.1
!pip install -U moviepy>=1.0.3
!git clone https://github.com/hysts/anime-face-detector
%cd anime-face-detector
import cv2
import matplotlib.pyplot as plt
import numpy as np
from anime_face_detector import create_detector
Hi,
mmcv is updated to 1.7.1 as of 2023.
Here are errors