File tree Expand file tree Collapse file tree 3 files changed +134
-3
lines changed
Expand file tree Collapse file tree 3 files changed +134
-3
lines changed Original file line number Diff line number Diff 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"
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments