replace uuidgen with /proc/sys/kernel/random/uuid
Browse files- upload2hgf.sh +1 -1
upload2hgf.sh
CHANGED
@@ -4,7 +4,7 @@ git lfs install
|
|
4 |
find ckpt -type f | xargs -I{} cp {} .
|
5 |
git lfs track *.bin
|
6 |
git lfs track events.out.*
|
7 |
-
tmp_branch=hgf
|
8 |
git checkout -b $tmp_branch
|
9 |
git add .
|
10 |
git commit -am 'update model'
|
|
|
4 |
find ckpt -type f | xargs -I{} cp {} .
|
5 |
git lfs track *.bin
|
6 |
git lfs track events.out.*
|
7 |
+
tmp_branch=hgf-$(cat /proc/sys/kernel/random/uuid)
|
8 |
git checkout -b $tmp_branch
|
9 |
git add .
|
10 |
git commit -am 'update model'
|