提交 c1e082d6 编辑于 作者: Yuxin Wu's avatar Yuxin Wu
浏览文件

use pip install ninja

上级 00cc75a5
......@@ -88,9 +88,8 @@ install_linux_dep: &install_linux_dep
- run:
name: Install Dependencies
command: |
sudo apt install ninja-build
pip install --progress-bar off -U 'git+https://github.com/facebookresearch/fvcore'
pip install --progress-bar off opencv-python-headless pytest-xdist tensorboard pycocotools
pip install --progress-bar off ninja opencv-python-headless pytest-xdist tensorboard pycocotools
pip install --progress-bar off torch==$PYTORCH_VERSION torchvision==$TORCHVISION_VERSION -f https://download.pytorch.org/whl/cu101/torch_stable.html
python -c 'import torch; print("CUDA:", torch.cuda.is_available())'
gcc --version
......@@ -99,7 +98,7 @@ install_detectron2: &install_detectron2
- run:
name: Install Detectron2
command: |
pip install -U --progress-bar off -e .[dev]
pip install --progress-bar off -e .
python -m detectron2.utils.collect_env
run_unittests: &run_unittests
......
......@@ -58,9 +58,8 @@ jobs:
- name: Install dependencies
run: |
brew install ninja
python -m pip install -U pip setuptools==49
python -m pip install opencv-python-headless onnx pytest-xdist
python -m pip install ninja opencv-python-headless onnx pytest-xdist
python -m pip install torch==${{matrix.torch}} torchvision==${{matrix.torchvision}} -f https://download.pytorch.org/whl/torch_stable.html
python -m pip install -U 'git+https://github.com/facebookresearch/fvcore'
......
Supports Markdown
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册