File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ CKPT_PATH=" pretrained_model/wam-flow/navsim"
4+ FUDOKI_PATH=" pretrained_model/fudoki"
5+ IMAGE_PATH=" data/navsim_data/sensor_blobs/test/2021.09.09.17.18.51_veh-48_00889_01147/CAM_F0/9a6f0331d98258a0.jpg"
6+
7+ torchrun --nproc_per_node 1 infer.py \
8+ --checkpoint_path $CKPT_PATH \
9+ --image_path $IMAGE_PATH \
10+ --processor_path $FUDOKI_PATH \
11+ --text_embedding_path $FUDOKI_PATH /text_embedding.pt \
12+ --image_embedding_path $FUDOKI_PATH /image_embedding.pt \
13+ --discrete_fm_steps 2 \
14+ --seed 123
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ NUM_NODES=1
4+ NUM_GPUS=1
5+
6+ config=config/debug.yaml
7+ output_dir=output/train/debug
8+
9+ accelerate launch \
10+ --config_file ./config/accelerate_config_ds2.yaml \
11+ --machine_rank 0 \
12+ --main_process_port 12345 \
13+ --num_machines $NUM_NODES \
14+ --num_processes $NUM_GPUS \
15+ train.py \
16+ --config $config \
17+ --output_dir $output_dir
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ NUM_NODES=1
4+ NUM_GPUS=1
5+
6+ config=config/sft_navsim.yaml
7+ output_dir=output/train/debug
8+
9+ accelerate launch \
10+ --config_file ./config/accelerate_config_ds2.yaml \
11+ --machine_rank 0 \
12+ --main_process_port 12345 \
13+ --num_machines $NUM_NODES \
14+ --num_processes $NUM_GPUS \
15+ train.py \
16+ --config $config \
17+ --output_dir $output_dir
You can’t perform that action at this time.
0 commit comments