rishitdagli commited on
Commit
f1bc7bf
·
verified ·
1 Parent(s): 594f751

Add files using upload-large-folder tool

Browse files
Files changed (1) hide show
  1. train.sh +18 -0
train.sh ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ TOTAL_STEPS=30000
2
+
3
+ for dir in */; do
4
+ dirname=${dir%/}
5
+ echo "====================================="
6
+ echo "Training on dataset: $dirname"
7
+ echo "====================================="
8
+ export_path="./$dirname/"
9
+ ~/Downloads/brush_app "$dirname" \
10
+ --total-steps $TOTAL_STEPS \
11
+ --export-path "$export_path" \
12
+ --export-name "${dirname}.ply" \
13
+ --export-every $TOTAL_STEPS \
14
+ --eval-every $TOTAL_STEPS
15
+ echo "Completed training on $dirname"
16
+ echo ""
17
+ done
18
+ echo "All datasets have been processed!"