Skip to content

Commit 6656a47

Browse files
committed
chore(deps): models-yolox: -r requirements.txt
1 parent 2cf28f3 commit 6656a47

File tree

3 files changed

+134
-3
lines changed

3 files changed

+134
-3
lines changed

pyproject.toml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,18 @@ models-mmpose = [
7474
"scipy",
7575
"xtcocotools>=1.12",
7676
]
77+
models-yolox = [
78+
"loguru",
79+
"ninja",
80+
# "onnx-simplifier==0.4.10",
81+
# "onnx>=1.13.0",
82+
"psutil",
83+
"pycocotools>=2.0.7",
84+
"tabulate",
85+
# "tensorboard",
86+
"thop",
87+
"tqdm",
88+
]
7789

7890
# NOTE: Temporarily duplicated from [project.optional-dependencies] until
7991
# pip supports installing [dependency-groups].
@@ -111,6 +123,18 @@ models-mmpose = [
111123
"scipy",
112124
"xtcocotools>=1.12",
113125
]
126+
models-yolox = [
127+
"loguru",
128+
"ninja",
129+
# "onnx-simplifier==0.4.10",
130+
# "onnx>=1.13.0",
131+
"psutil",
132+
"pycocotools>=2.0.7",
133+
"tabulate",
134+
# "tensorboard",
135+
"thop",
136+
"tqdm",
137+
]
114138

115139
[project.scripts]
116140
"compressai-vision-eval" = "compressai_vision.run.eval_split_inference:main"

scripts/install_uv.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,8 @@ install_yolox () {
221221
echo "Installing YOLOX (reference: https://github.com/Megvii-BaseDetection/YOLOX)"
222222
echo
223223

224+
uv sync --inexact --group=models-yolox
225+
224226
# clone
225227
if [ -z "$(ls -A ${MODELS_SOURCE_DIR}/yolox)" ]; then
226228
git clone https://github.com/Megvii-BaseDetection/yolox.git ${MODELS_SOURCE_DIR}/yolox
@@ -232,8 +234,6 @@ install_yolox () {
232234
fi
233235

234236
cd ${MODELS_SOURCE_DIR}/yolox
235-
# miminum requirments - no onnx, etc.
236-
cp ${SCRIPT_DIR}/yolox_requirements.txt requirements.txt
237237

238238
uv pip install --no-build-isolation .
239239

uv.lock

Lines changed: 108 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)