Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
Y
yolov5
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
Administrator
yolov5
Commits
6e86af3d
Unverified
提交
6e86af3d
authored
7月 16, 2022
作者:
Glenn Jocher
提交者:
GitHub
7月 16, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add `pip install wheel` to avoid legacy `setup.py install` (#8597)
* Update ci-testing with `pip install wheel` * Update ci-testing.yml * Update dockerfiles
上级
5c45a4b1
显示空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
5 行增加
和
5 行删除
+5
-5
ci-testing.yml
.github/workflows/ci-testing.yml
+2
-2
Dockerfile
utils/docker/Dockerfile
+1
-1
Dockerfile-arm64
utils/docker/Dockerfile-arm64
+1
-1
Dockerfile-cpu
utils/docker/Dockerfile-cpu
+1
-1
没有找到文件。
.github/workflows/ci-testing.yml
浏览文件 @
6e86af3d
...
@@ -32,7 +32,7 @@ jobs:
...
@@ -32,7 +32,7 @@ jobs:
# restore-keys: ${{ runner.os }}-Benchmarks-
# restore-keys: ${{ runner.os }}-Benchmarks-
-
name
:
Install requirements
-
name
:
Install requirements
run
:
|
run
:
|
python -m pip install --upgrade pip
python -m pip install --upgrade pip
wheel
pip install -r requirements.txt coremltools openvino-dev tensorflow-cpu --extra-index-url https://download.pytorch.org/whl/cpu
pip install -r requirements.txt coremltools openvino-dev tensorflow-cpu --extra-index-url https://download.pytorch.org/whl/cpu
python --version
python --version
pip --version
pip --version
...
@@ -77,7 +77,7 @@ jobs:
...
@@ -77,7 +77,7 @@ jobs:
restore-keys
:
${{ runner.os }}-${{ matrix.python-version }}-pip-
restore-keys
:
${{ runner.os }}-${{ matrix.python-version }}-pip-
-
name
:
Install requirements
-
name
:
Install requirements
run
:
|
run
:
|
python -m pip install --upgrade pip
python -m pip install --upgrade pip
wheel
pip install -r requirements.txt --extra-index-url https://download.pytorch.org/whl/cpu
pip install -r requirements.txt --extra-index-url https://download.pytorch.org/whl/cpu
python --version
python --version
pip --version
pip --version
...
...
utils/docker/Dockerfile
浏览文件 @
6e86af3d
...
@@ -14,7 +14,7 @@ RUN apt update && apt install --no-install-recommends -y zip htop screen libgl1-
...
@@ -14,7 +14,7 @@ RUN apt update && apt install --no-install-recommends -y zip htop screen libgl1-
# Install pip packages
# Install pip packages
COPY
requirements.txt .
COPY
requirements.txt .
RUN
python
-m
pip
install
--upgrade
pip
RUN
python
-m
pip
install
--upgrade
pip
wheel
RUN
pip uninstall
-y
torch torchvision torchtext Pillow
RUN
pip uninstall
-y
torch torchvision torchtext Pillow
RUN
pip
install
--no-cache
-r
requirements.txt albumentations wandb gsutil notebook Pillow>
=
9.1.0
\
RUN
pip
install
--no-cache
-r
requirements.txt albumentations wandb gsutil notebook Pillow>
=
9.1.0
\
'opencv-python<4.6.0.66'
\
'opencv-python<4.6.0.66'
\
...
...
utils/docker/Dockerfile-arm64
浏览文件 @
6e86af3d
...
@@ -17,7 +17,7 @@ RUN apt install --no-install-recommends -y python3-pip git zip curl htop gcc \
...
@@ -17,7 +17,7 @@ RUN apt install --no-install-recommends -y python3-pip git zip curl htop gcc \
# Install pip packages
# Install pip packages
COPY requirements.txt .
COPY requirements.txt .
RUN python3 -m pip install --upgrade pip
RUN python3 -m pip install --upgrade pip
wheel
RUN pip install --no-cache -r requirements.txt gsutil notebook \
RUN pip install --no-cache -r requirements.txt gsutil notebook \
tensorflow-aarch64
tensorflow-aarch64
# tensorflowjs \
# tensorflowjs \
...
...
utils/docker/Dockerfile-cpu
浏览文件 @
6e86af3d
...
@@ -16,7 +16,7 @@ RUN apt install --no-install-recommends -y python3-pip git zip curl htop libgl1-
...
@@ -16,7 +16,7 @@ RUN apt install --no-install-recommends -y python3-pip git zip curl htop libgl1-
# Install pip packages
# Install pip packages
COPY requirements.txt .
COPY requirements.txt .
RUN python3 -m pip install --upgrade pip
RUN python3 -m pip install --upgrade pip
wheel
RUN pip install --no-cache -r requirements.txt albumentations gsutil notebook \
RUN pip install --no-cache -r requirements.txt albumentations gsutil notebook \
coremltools onnx onnx-simplifier onnxruntime openvino-dev tensorflow-cpu tensorflowjs \
coremltools onnx onnx-simplifier onnxruntime openvino-dev tensorflow-cpu tensorflowjs \
--extra-index-url https://download.pytorch.org/whl/cpu
--extra-index-url https://download.pytorch.org/whl/cpu
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论