logging.info("begin insert model_id ,sdk_fid,mxnet_modelid into pkg_info table")
logging.info("begin insert model_id ,sdk_fid,mxnet_modelid into pkg_info table")
sql_cmd="insert ignore into seetaAtlas.pkg_info (modelid,sdk_fid,stmodel_fid) values("+str(modelid)+",\'"+sdk_fid+"\',\'"+stmodel_fid+"\')"
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+"\'"