zoukankan      html  css  js  c++  java
  • TFServering和docker

    nvidia-docker安装:https://github.com/NVIDIA/nvidia-docker

    nvidia-docker的基本操作:https://blog.csdn.net/pandamax/article/details/79151107

    TensorFlow Serving + Docker整体流程:https://zhuanlan.zhihu.com/p/52096200

    更多例子:

    https://zhuanlan.zhihu.com/p/64413178

    https://zhuanlan.zhihu.com/p/58474810

    https://github.com/pakrchen/text-antispam

    keras模型转tfserving:

    https://www.jianshu.com/p/91aae37f1da6

    model端Dockfile的编写

    FROM  tensorflow/serving:1.13.0-gpu 
    MAINTAINER XXX
    COPY model /models/model
    
    #docker build -t  image_name .
    #NV_GPU=0 nvidia-docker run -p 8500:8500 -t image_name --model_config_file=/path/to/models.config  modelfs.config主要保存模型的名称,路径,model_platform

    tfserving warmup 

    其中tf2.0代码已经改为tf.io.TFRecordWriter

    https://blog.csdn.net/hzhj2007/article/details/97679342

  • 相关阅读:
    「BZOJ 1000」A+B Problem
    「HNOI 2008」越狱
    蓝桥杯 拼音字母
    蓝桥杯 抽签
    蓝桥杯 快速排序
    [蓝桥杯] 最大比例
    [蓝桥杯] 交换瓶子
    [蓝桥杯] 四平方和
    [蓝桥杯] 剪邮票
    [蓝桥杯] 方格填数
  • 原文地址:https://www.cnblogs.com/573177885qq/p/11162936.html
Copyright © 2011-2022 走看看