Open hzane opened 1 year ago
You should install EasyFace first~
conda create --offline -n EasyFace python=3.8
conda activate EasyFace
# pytorch >= 1.3.0
pip install torch==1.8.1+cu102 torchvision==0.9.1+cu102 --extra-index-url https://download.pytorch.org/whl/cu102
git clone https://github.com/ly19965/FaceMaas
cd FaceMaas
pip install -r requirements.txt
mim install mmcv-full
cannot import name 'Config' from 'mmcv' The mmcv >= 2.0.0 revomed the config, but the model require the mmcv must >= 2.0.0
cannot import name 'Config' from 'mmcv' The mmcv >= 2.0.0 revomed the config, but the model require the mmcv must >= 2.0.0
do you solve this problem??? I cant install most of mmcv>2.0.0 and raise error“ERROR: Could not build wheels for mmcv, which is required to install pyproject.toml-based projects” . and when I install mmcv==2.1.0 it tell me“ImportError: FaceDetectionPipeline: DamoFdDetect: cannot import name 'Config' from 'mmcv' (/root/anaconda3/envs/easyface/lib/python3.8/site-packages/mmcv/init.py) ”
throws exception: The model: damo/cv_ddsar_face-detection_iclr23-damofd has no valid revision