bev-project/archive_scripts/start_phase4a_v2.sh

22 lines
764 B
Bash
Executable File
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/bash
set -e
export PATH=/opt/conda/bin:$PATH
export LD_LIBRARY_PATH=/opt/conda/lib:/usr/local/cuda/lib64:$LD_LIBRARY_PATH
cd /workspace/bevfusion
echo "Phase 4A: BEV 2x训练 - 启动中..."
# 直接使用python而不是torchpack
nohup python -m torch.distributed.launch --nproc_per_node=6 --master_port=29500 \
tools/train.py \
configs/nuscenes/det/transfusion/secfpn/camera+lidar/swint_v0p075/multitask_BEV2X_phase4a.yaml \
--launcher pytorch \
--model.encoders.camera.backbone.init_cfg.checkpoint=pretrained/swint-nuimages-pretrained.pth \
--load_from runs/enhanced_from_epoch19/epoch_23.pth \
--run-dir runs/phase4a_bev2x \
> phase4a_bev2x.log 2>&1 &
echo "✅ 训练已启动PID: $!"
echo "日志: phase4a_bev2x.log"