Commit c381dd18 authored by 郭羽's avatar 郭羽

特征工程优化

parent 2714b63e
cd /srv/apps/tensorServing_models/
fileNum=`ls service1/|wc -l`
fileNum=`ls service/|wc -l`
function pushModel() {
echo "222"
#文件打包
#tar -czvf model_service.tar.gz service
tar -czvf model_service.tar.gz service
#上传至coding
#curl -T model_service.tar.gz -u guoyu@igengmei.com:Gengmei123! "https://gengmei-generic.pkg.coding.net/tob/mode/service"
curl -T model_service.tar.gz -u guoyu@igengmei.com:Gengmei123! "https://gengmei-generic.pkg.coding.net/tob/mode/service"
}
if [ $fileNum != "0" ]; then
pushModel
fi
#文件打包
#tar -czvf model_service.tar.gz service
#上传至coding
#curl -T model_service.tar.gz -u guoyu@igengmei.com:Gengmei123! "https://gengmei-generic.pkg.coding.net/tob/mode/service"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment