d2go使用总结
d2go使用总结
安装
PyTorch Nightly
安装 PyTorch Nightly(以 CUDA 10.2 为例,详见PyTorch 网站):
conda install pytorch torchvision cudatoolkit=10.2 -c pytorch-nightly
Detectron2
安装 Detectron2(Detectron2 的其他安装选项):
python -m pip install 'git+https://github.com/facebookresearch/detectron2.git'
mobile_cv
安装 mobile_cv:
python -m pip install 'git+https://github.com/facebookresearch/mobile-vision.git'
mobile-vision
git clone git@github.com:facebookresearch/mobile-vision.git
python -m pip install .
安装依赖项
git clone git@github.com:Lightning-AI/lightning.git
python -m pip install .
pip install pytorch-lightning
pip install importlib
pip install mock
d2go
安装 d2go:
git clone https://github.com/facebookresearch/d2go
cd d2go & python -m pip install .
python setup.py instal
开始
Talk is cheap. Show me the code