Files
Mini-Nav/.justfile
SikongJueluo 5f41cf5794 feat(compressors): add OWLv2 bbox crop to HashPipeline and refactor image utilities
- Add crop_batch method to HashPipeline for cropping images using OWLv2 detection boxes
- Integrate crop_batch into pipeline forward pass (extract_hash and extract_features)
- Move extract_masked_region from compressors/proposal/utils.py to utils/image.py
- Add crop_image_by_bbox utility function in utils/image.py
- Update type annotations to use dict[str, Any] instead of bare dict
- Update .justfile to add memory server command
- Update marimo dependency to >=0.22.0
- Update nvidia CUDA package markers for platform compatibility
2026-04-03 19:43:43 +08:00

60 lines
1.7 KiB
Makefile

upload:
rsync -avLh --progress --stats --itemize-changes \
--exclude='.jj/' \
--exclude='.git/' \
--exclude='.devenv/' \
--exclude='.direnv/' \
--exclude='deps/' \
--exclude='outputs/' \
--exclude='data/versioned_data/' \
. ial-gpu-workstation-1:/home/ial-pangyg/docker-workspace/projects/mini-nav/
download:
rsync -avLh --progress --stats --itemize-changes \
ial-gpu-workstation-1:/home/ial-pangyg/docker-workspace/projects/mini-nav/outputs .
sync-pkgs:
# micromamba env create -f ./environment.yml
# export UV_PROJECT_ENVIRONMENT="/workspace/envs/mini-nav/" && uv sync --inexact
uv sync --inexact
sync-data:
python -m habitat_sim.utils.datasets_download --uids habitat_test_scenes --data-path data/
python -m habitat_sim.utils.datasets_download --uids habitat_example_objects --data-path data/
ssh:
ssh \
-L 127.0.0.1:22001:127.0.0.1:22000 \
-R 127.0.0.1:22001:127.0.0.1:22000 \
-L 127.0.0.1:8385:127.0.0.1:8384 \
-L 127.0.0.1:9098:127.0.0.1:9098 \
-L 127.0.0.1:2718:172.30.0.2:2718 \
ial-gpu-workstation-1
docker:
docker exec -it docker-ial-pangyg bash
marimo +notebook:
# export UV_PROJECT_ENVIRONMENT="/workspace/envs/mini-nav/" \
# && uv run marimo edit {{ notebook }} --host 0.0.0.0 --port 2718
uv run marimo edit {{ notebook }} --host 0.0.0.0 --port 2718 --no-token
add +packages:
uv add {{ packages }} --no-sync
just sync-pkgs
remove +packages:
uv remove {{ packages }} --no-sync
just sync-pkgs
add-dev +packages:
uv add {{ packages }} --group dev --no-sync
just sync-pkgs
remove-dev +packages:
uv remove {{ packages }} --group dev --no-sync
just sync-pkgs
memory:
MCP_ALLOW_ANONYMOUS_ACCESS=true memory server --http