logging.info("begin insert model_id ,sdk_fid,mxnet_modelid into pkg_info table")
sql_cmd="insert into seetaAtlas.pkg_info (modelid,sdk_fid,stmodel_fid) values("+str(modelid)+",\'"+sdk_fid+"\',\'"+stmodel_fid+"\')"+" ON DUPLICATE KEY UPDATE sdk_fid=\'"+sdk_fid+"\',stmodel_fid=\'"+stmodel_fid+"\'"
curl_atlas_exe.execute(sql_cmd)
db_atlas.commit()
#get parameters and driver the transition function
@app.route('/',methods=['POST'])
defDirver_Convert():
#get parameter modelid from post stream
modelid=request.form['modelid']
output_layer=request.form['output_layer']
logging.info("We get modelid :%s from post stream,Start conversion:"%modelid)