![](https://img-blog.csdnimg.cn/25bf85ae3b4f43c5b0bd7e94961474e5.jpeg?x-oss-process=image/resize,m_fixed,h_224,w_224)
QD
文章平均质量分 93
人工智能量化部署
吃水果不削皮
这个作者很懒,什么都没留下…
展开
-
keras模型优化与压缩
Keras的模型压缩CLI工具hard_compressor用于keras的模型压缩CLI工具。如何使用它环境要求Python 3.5, 3.6Keras安装方法$ git clone ${this repository}$ cd ./keras_compressor$ pip install .模型压缩示例keras-compressor.py model.h5 compressed.h5带有精度参数keras-compressor.py --error 0.001 mo原创 2020-07-21 14:23:17 · 740 阅读 · 0 评论 -
yolov5测试单张图片
yolov5测试单张图片,返回一个列表[类别,置信度,x,y,w,h]from numpy import randomimport torchfrom models.experimental import attempt_loadfrom utils.datasets import LoadStreams, LoadImagesfrom utils.general import ( check_img_size, non_max_suppression, apply_classifier原创 2020-10-19 17:47:44 · 4192 阅读 · 2 评论 -
Java Spring Boot 使用DJL 部署python训练的PyTorch模型(MNIST)
Java Spring Boot 使用DJL 部署python训练的PyTorch模型(MNIST)原创 2022-12-20 13:30:00 · 2332 阅读 · 0 评论