1. 首页
  2. 数据库
  3. 其它
  4. 基于数据并行实现多GPU跑模型预测(VGG16示例)

基于数据并行实现多GPU跑模型预测(VGG16示例)

上传者: 2020-12-30 15:27:07上传 PDF文件 53.53KB 热度 15次
个人总结能实现多GPU跑图的方法: 1、使用谷歌框架tf.estimator; session_config = tf.ConfigProto(device_count={'GPU': 0,'GPU':1,'GPU':2,'GPU':3}) run_config = tf.estimator.RunConfig().replace(session_config=session_config) estimator = tf.estimator.Estimator( model_fn=model_fn, model_dir=FLAGS.model_dir, config=run_co
下载地址
用户评论