一、TensorFlow Lite 二、tflite格式 TensorFlow 生成的模型是无法直接给移动端使用的,需要离线转换成.tflite文件格式。 tflite 存储格式是 flatbuffers。 因此,如果要给移动端使用的话,必须把 TensorFlow 训练好的 protobuf 模型 ...
分类:
移动开发 时间:
2019-10-30 19:59:19
阅读次数:
136
GoCN每日新闻(2019-10-21) GoCN每日新闻(2019-10-21) GoCN每日新闻(2019-10-21) 1. 使用 Golang, RabbitMQ 和 Protobuf 构建高效的微服务 https://medium.com/rahasak/reactive-microser ...
分类:
其他好文 时间:
2019-10-24 09:20:48
阅读次数:
91
I/ proto_path: 指定导入proto和生成proto的位置 go_out: 指定生成文件位置相对于执行命令的位置 最后面指定要编译的proto文件 ...
分类:
其他好文 时间:
2019-10-19 19:01:30
阅读次数:
92
问题背景 REST 项目使用protobuf 来加速项目开发,定义了很多model,vo,最终返回的仍然是JSON. 项目中一般使用 一个Response类, 如果需要分页,则还需要如下的类 那么在Controller中,直接返回 Response .set( Pagedata. set ( Pro ...
分类:
编程语言 时间:
2019-10-11 12:11:16
阅读次数:
235
@ "TOC" 安装(Ubuntu 16.04) 1. sudo apt get install autoconf automake libtool curl make g++ unzip 2. git clone https://github.com/google/protobuf.git 3. ...
分类:
编程语言 时间:
2019-10-06 23:22:06
阅读次数:
195
.net core 3.0新增加功能 创建grpg服务 一、服务端 二、客户端 1.Nuget包 Grpc.Net.Client 包含 .NET Core 客户端 Google.Protobuf 包含适用于 C# 的 Protobuf 消息 Grpc.Tools 包含适用于 Protobuf 文件的 ...
分类:
其他好文 时间:
2019-10-04 15:18:56
阅读次数:
114
Installing collected packages: setuptools, markdown, protobuf, grpcio, tensorboard, wrapt, tensorflow-estimator, google-pasta, termcolor, astor, tenso... ...
分类:
其他好文 时间:
2019-09-29 23:32:56
阅读次数:
1008
grpm安装: git clone https://github.com/grpc/grpc-go.git $GOPATH/src/google.golang.org/grpc proto,protoc-gen-go安装: go get -u github.com/golang/protobuf/{ ...
分类:
其他好文 时间:
2019-09-23 15:05:24
阅读次数:
81
背景 工作中对接对方服务是GRPC,对方只提供了proto契约文件,需要自己生成对应的实体类以及客户端代码,故记录下操作流程。 Java 代码生成 实体类: 通过 插件生成实体类 在 https://github.com/protocolbuffers/protobuf/releases 下载对应版 ...
分类:
编程语言 时间:
2019-09-11 19:59:39
阅读次数:
176
Google Protocol Buffer( 简称 Protobuf) 是 Google 公司内部的混合语言数据标准,目前已经正在使用的有超过 48,162 种报文格式定义和超过 12,183 个 .proto 文件。他们用于 RPC 系统和持续数据存储系统。 Protocol Buffers 是 ...
分类:
其他好文 时间:
2019-09-11 18:27:27
阅读次数:
106