add 原版代码.
This commit is contained in:
6
sh/activate.sh
Normal file
6
sh/activate.sh
Normal file
@@ -0,0 +1,6 @@
|
||||
export PYTHONPATH=/home/licsber/services/gxs/src
|
||||
PY=/home/licsber/anaconda3/envs/gxs-36/bin/python
|
||||
|
||||
hostname
|
||||
echo $PYTHONPATH
|
||||
echo $PY
|
11
sh/deploy.sh
Normal file
11
sh/deploy.sh
Normal file
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env zsh
|
||||
|
||||
SRC=/Users/licsber/Coding/Python/2021工训赛/
|
||||
DST=192.168.1.102:/home/licsber/gx/
|
||||
rsync -rtvzhP $SRC $DST --delete-after --exclude "venv/" --exclude "__pycache__/" --exclude "*.onnx" --exclude "*.engine" --exclude ".git/"
|
||||
|
||||
SRC=/Users/licsber/datasets/工训赛/models/
|
||||
|
||||
cd "$SRC" || exit
|
||||
rsync -rtvzhP ssd-mobilenet.onnx $DST
|
||||
rsync -rtvzhP labels.txt $DST
|
17
sh/ser.sh
Normal file
17
sh/ser.sh
Normal file
@@ -0,0 +1,17 @@
|
||||
#!/usr/bin/env zsh
|
||||
|
||||
SRC=/Users/licsber/Coding/Python/2021工训赛/
|
||||
DST=ser:/home/licsber/services/gxs/
|
||||
|
||||
rsync -rtvzhP $SRC $DST --delete-after --exclude "venv/" --exclude "__pycache__/"
|
||||
|
||||
SRC=/Users/licsber/datasets/工训赛/models/
|
||||
DST=ser:/datasets/工训赛/models
|
||||
cd "$SRC" || exit
|
||||
|
||||
rsync -tvzhP labels.txt $DST
|
||||
rsync -rtvzhP $SRC/../voc/ $DST/../voc --delete-after
|
||||
rsync -tvzhP mobilenet-v1-ssd-mp-0_675.pth $DST
|
||||
rsync -tvzhP ser:/datasets/工训赛/models/mb1-ssd-Epoch-60-Loss-1.0784624990294962.pth /Users/licsber/datasets/工训赛/models/
|
||||
#rsync -tvzhP ssd-mobilenet.onnx $DST
|
||||
#rsync -tvzhP mb1-ssd-Epoch-28-Loss-1.1538286421980177.pth $DST
|
3
sh/train.sh
Normal file
3
sh/train.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
source activate.sh
|
||||
|
||||
$PY "$PYTHONPATH/train.py" "$@"
|
Reference in New Issue
Block a user