Skip to content

Commit 25fe2cb

Browse files
committed
build(install): reorder install_mmpose
1 parent 6656a47 commit 25fe2cb

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

scripts/install_uv.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -246,9 +246,6 @@ install_mmpose () {
246246
echo "Installing MMPOSE (reference: https://github.com/open-mmlab/mmpose/tree/main)"
247247
echo
248248

249-
uv sync --inexact --group=models-mmpose
250-
uv run --no-sync mim install "mmcv==2.0.1"
251-
252249
# clone
253250
if [ -z "$(ls -A ${MODELS_SOURCE_DIR}/mmpose)" ]; then
254251
git clone https://github.com/open-mmlab/mmpose.git ${MODELS_SOURCE_DIR}/mmpose
@@ -261,8 +258,9 @@ install_mmpose () {
261258

262259
cd ${MODELS_SOURCE_DIR}/mmpose
263260

261+
uv sync --inexact --group=models-mmpose
264262
uv pip install --no-build-isolation .
265-
263+
uv run --no-sync mim install "mmcv==2.0.1"
266264
uv run --no-sync mim install mmdet==3.1.0
267265

268266
# back to project root

0 commit comments

Comments
 (0)