- 博客(4)
- 收藏
- 关注
原创 计算模型的FLOPs
为了探究影响模型运行时间的变量,之前运用了参数量做标准参数量在TF框架下还是很容易计算的TF框架下运用tf.keras.models.Model().summary()就能一键生成包含模型的layers,output,parameters的报告为了探究其他标准用于反映模型的运行时间,我们在网上找到了三个标准:参数量(parameters)浮点运算次数(FLOPs)内存访问次数(MAC)这次我们就来探究FLOPs对模型latency的影响一上来先踩坑TF2.X取消了Profiler接
2020-07-21 16:56:57 2523
转载 可视化工具Tensorboard
https://blog.csdn.net/duanlianvip/article/details/98498826https://blog.csdn.net/duanlianvip/article/details/98590013?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-2.nonecase&depth_1-utm_source=distribute.pc_relevant.
2020-07-17 16:45:54 100
原创 关于TensorFlow量化转换器
tf.lite.TFLiteConverterTensorFlow的量化转换器可以很方便的将tf的模型量化成8bit/16bit的模型converter = tf.lite.TFLiteConverter.from_keras_model(model)# This enables quantizationconverter.optimizations = [tf.lite.Optimize.DEFAULT]converter.target_spec.supported_types = [tf.i
2020-07-16 14:50:05 268
原创 MobileNet V2在Coral Dev Board的部署过程
MobileNet V2在Coral Dev Board的部署过程基于google给出的训练自己的模型的示例https://colab.research.google.com/github/google-coral/tutorials/blob/master/retrain_classification_ptq_tf2.ipynb#scrollTo=RwywT4ZpQjLf把一个模型部署到coral的edgeTPU的流程是这样的:1, 用Tensorflow 2.0建立模型2, 用某个数据集对模型
2020-07-13 22:00:05 675 5
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人