fix video label

This commit is contained in:
zaiun xu
2026-04-10 10:30:01 +08:00
parent e1b514836e
commit 09736f9e15
20 changed files with 518 additions and 268 deletions

View File

@@ -10,7 +10,8 @@
| `FishMeasure/` | 双目链路:`predict_weigth_from_svo2.py``fish_video_weight_evaluation.py``weight_estimator/``pointcloud_classifier/` 等 |
| `FishAction/` | 行为推断:`predict_video_x3d_3class.py``train_pytorchvideo_x3d.py``checkpoints/`X3D |
| `packaging/` | **单一 Conda 环境**:网关 + 两条算法依赖定义,见 [`packaging/README.md`](packaging/README.md) |
| `scripts/run_fishserver.sh` | 在已激活的 `fishserver` 环境中一键启动 uvicorn |
| `scripts/start_fresh.sh` | 在已激活的 `fishserver` 环境中清空缓存后启动 uvicorn |
| `scripts/start_no_fresh.sh` | 保留 SQLite 与推理缓存启动 uvicorn |
### 一键打包成「单环境」运行(推荐服务器)
@@ -19,7 +20,7 @@ bash packaging/bootstrap_fishserver.sh
conda activate fishserver
bash packaging/patch_cuda_torch.sh # Linux + NVIDIA 时建议
# 再按 packaging/README.md 安装 ZED SDK 与 pyzed
PORT=8001 bash scripts/run_fishserver.sh
PORT=8001 bash scripts/start_fresh.sh
```
多 Conda 环境、分别设置 `PYTHON_FISH_MEASURE` / `PYTHON_FISH_ACTION` 的方式仍支持,见 `fish_api/README.md`