megvii-research / megactor

Apache License 2.0
737 stars 100 forks source link

执行安装时很多package不存在 #17

Open cpken opened 3 months ago

cpken commented 3 months ago

执行安装时报如下错误,无法安装成功。基本上都是提示

WARNING: Package(s) not found: deepspeed

conda env create -f environment.yaml

# pip
detectron2==0.6【已解决】
detectron2-densepose==0.6
rrun==1.13.1
torchvision==0.15.1+cu117【换成 torchvision==0.15.1 可以安装】

其中 detectron2 已经安装成功了,参考 https://detectron2.readthedocs.io/en/latest/tutorials/install.html

python -m pip install 'git+https://github.com/facebookresearch/detectron2.git'
# (add --user if you don't have permission)

# Or, to install it from a local clone:
git clone https://github.com/facebookresearch/detectron2.git
python -m pip install -e detectron2

# On macOS, you may need to prepend the above commands with a few environment variables:
CC=clang CXX=clang++ ARCHFLAGS="-arch x86_64" python -m pip install ...
lhd777 commented 3 months ago

请查看另一个issue来安装detectron2 & detectron2-densepose: https://github.com/megvii-research/megactor/issues/11

Step1: git submodule init && git submodule update Step2: pip install git+https://github.com/facebookresearch/detectron2@main#subdirectory=projects/DensePose Finally Get detectron2 & densepose