19 lines
803 B
Bash
19 lines
803 B
Bash
#!/bin/bash
|
|
|
|
# Simple command to run fish video weight evaluation with all flags
|
|
|
|
python3 fish_video_weight_evaluation.py \
|
|
--yolo-model "/home/ubuntu/projects/FishMeasure/runs/train/fish_detection_20251127_104658/weights/best.pt" \
|
|
--svo "/home/ubuntu/data/fish/2025-11-19-new/HD1080_SN43186771_02-18-10.svo2" \
|
|
--save-output "output_preview" \
|
|
--conf 0.5 \
|
|
--imgsz 640 \
|
|
--sam-device "cuda" \
|
|
--max-frames 0 \
|
|
--filter-pointcloud \
|
|
--use-density-filter \
|
|
--pointcloud-classifier "/home/ubuntu/projects/FishMeasure/pointcloud_classifier/Pointnet_Pointnet2_pytorch/log/classification/fish_pointnet2_finetune/checkpoints/best_model.pth" \
|
|
--use-pointcloud-classifier \
|
|
--pointcloud-classifier-threshold 0.7 --use-flatness-filter --flatness-threshold 70.0
|
|
|