Skip to content
GitLab
菜单
项目
群组
代码片段
帮助
帮助
支持
社区论坛
快捷键
?
提交反馈
登录/注册
切换导航
菜单
打开侧边栏
Lin Sui
detectron2
提交
c1e082d6
提交
c1e082d6
编辑于
9月 08, 2020
作者:
Yuxin Wu
浏览文件
use pip install ninja
上级
00cc75a5
变更
2
Hide whitespace changes
Inline
Side-by-side
.circleci/config.yml
浏览文件 @
c1e082d6
...
...
@@ -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
...
...
.github/workflows/workflow.yml
浏览文件 @
c1e082d6
...
...
@@ -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.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录