update readme (#69)

This commit is contained in:
evonneng authored and GitHub committed 2022-05-11 11:03:15 -07:00
1 parent 6a77ca89aa
commit 1563afe51c
2 files changed
+20

No files matched your search

+6
View File
@@ -105,3 +105,9 @@ pip install py-spy
```
ipython --pdb scripts/run_train.py
```
5. **Benchmarking** For launching training jobs automatically on blender dataset
```
./scripts/benchmarking/launch_train_blender.sh <gpu0> <gpu1> ... <gpu7>
```
+14
View File
@@ -0,0 +1,14 @@
#!/bin/bash
DATASETS=("mic" "ficus" "chair" "hotdog" "materials" "drums" "ship" "lego")
GPU_IDX=1
for dataset in ${DATASETS[@]}; do
export CUDA_VISIBLE_DEVICES=${!GPU_IDX}
python scripts/run_train.py \
data.dataset.data_directory=data/blender/${dataset} \
experiment_name=blender_${dataset} \
logging.enable_stats=False \
logging.enable_profiler=False &
echo "Launched ${dataset} on gpu ${!GPU_IDX}"
GPU_IDX=$((GPU_IDX+1))
done