Commit c4fdb6d4 authored by 郭羽's avatar 郭羽

特征工程优化

parent 7bea5fbb
cd /srv/apps/tensorServing_models/ cd /srv/apps/tensorServing_models/
fileNum=`ls service1/|wc -l`
echo $fileNum
if [ $fileNum>0 ];then
echo $fileNum && echo "222"
fi
#文件打包 #文件打包
tar -czvf model_service.tar.gz service #tar -czvf model_service.tar.gz service
#上传至coding #上传至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"
\ No newline at end of file
...@@ -138,7 +138,7 @@ def train(emb_columns, number_columns, oneHot_columns, inputs, train_dataset): ...@@ -138,7 +138,7 @@ def train(emb_columns, number_columns, oneHot_columns, inputs, train_dataset):
# train the model # train the model
print("train start...") print("train start...")
model.fit(train_dataset, epochs=5) model.fit(train_dataset, epochs=10)
print("train end...") print("train end...")
print("train save...") print("train save...")
......
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