mount USB
lsusb
sudo fdisk -l
find the last one, which is your USB
sudo mount -t vfat /dev/sdc4 /media/lj2
sudo umount /dev/sdc4
https://blog.youkuaiyun.com/u012348774/article/details/79108544
FTP operation (deprecated by ssh)
wget ftp://IP:PORT/* --ftp-user=xxx --ftp-password=xxx -r
caffe
export PYTHONPATH=/data/ljj/caffe-ssd/python/:$PYTHONPATH
vncconfig &
caffe训练:断点续传
#!/bin/sh
if ! test -f example/MobileNetSSD_train.prototxt ;then
echo “error: example/MobileNetSSD_train.prototxt does not exist.”
echo “please use the gen_model.sh to generate your own model.”
exit 1
fi
mkdir -p snapshot
./…/…/build/tools/caffe train -solver=“solver_train.prototxt”
-snapshot=“snapshot/mobilenet_iter_119000.solverstate”
-gpu 1
#重新开始
#!/bin/sh
if ! test -f example/MobileNetSSD_train.prototxt ;then
echo “error: example/MobileNetSSD_train.prototxt does not exist.”
echo “please use the gen_model.sh to generate your own model.”
exit 1
fi
mkdir -p snapshot
/data/hmw/caffe-ssdtemp/build/tools/caffe train -solver=“solver_train.prototxt”
-weights=“mobilenet_iter_73000.caffemodel”
-gpu 1