激光与光电子学进展, 2020, 57 (6): 061021, 网络出版: 2020-03-06   

一种面向移动端的图像风格迁移模型压缩算法 下载: 1039次

An Image Style Transformation Model Compression Algorithm for Mobile Terminal
作者单位
宁夏大学信息工程学院, 宁夏 银川 750021
图 & 表

图 1. 模型迭代优化风格迁移算法整体结构

Fig. 1. Overall structure of model iterative optimization style transformation algorithm

下载图片 查看原文

图 2. 图像风格迁移网络结构

Fig. 2. Image style transformation network structure

下载图片 查看原文

图 3. 改进前、后的网络结构。(a)改进前;(b)改进后

Fig. 3. Network architecture before and after improvement. (a) Before improvement; (b) after improvement

下载图片 查看原文

图 4. 网络模型压缩前、后风格迁移评分。(a)压缩前;(b)压缩后

Fig. 4. Style transformation scores before and after network model compression. (a) Before compression; (b) after compression

下载图片 查看原文

图 5. 网络模型压缩后不同风格的图像迁移评分

Fig. 5. Transformation scores of image with different styles after network model compression

下载图片 查看原文

表 1各层网络的参数量

Table1. Number of network parameters at each layer

LayerNumber ofparametersRatio of numberof parameters /%
Conv177760.4
Conv2184321.1
Conv3737284.4
Res129491217.6
Res229491217.6
Res329491217.6
Res429491217.6
Res529491217.6
Deconv1737284.4
Deconv2184321.1
Deconv377760.4

查看原文

表 2模型压缩前、后参数量的对比

Table2. Comparison of number of parameters before and after model compression

LayerNumber of parametersRatio ofcompression /%
BeforecompressionAftercompression
Conv1777677760
Conv218432184320
Conv373728737280
Res12949125324881.9
Res22949125324881.9
Res32949125324881.9
Res42949125324881.9
Res52949125324881.9
Deconv173728737280
Deconv218432184320
Deconv3777677760
Total167443236371278.3

查看原文

表 3压缩前、后模型相关数据

Table3. Data related to the compressed model

ModelBefore compressionAfter compressionCompressionratioSpeed-upratio
Size /MBTime /msSize /MBTime /ms
Wave21.169374.445904.561.51
Feathers21.168514.453144.561.29
Mosaic21.169504.444214.561.57
Denoised21.144204.435714.561.23

查看原文

表 4移动端测试结果

Table4. Test results at mobile terminal

BrandModelInstallationtime /sInitializationtime /sCPUusage /%
HuaweiP10 Plus3.850.831.00
HuaweiHonor 93.310.720.13
HuaweiHonor 7X4.381.160.82
360N5S5.710.971.07
VivoV173CA5.151.561.78
SonyXperia XA9.471.384.27

查看原文

裴斐, 刘进锋, 李崤河. 一种面向移动端的图像风格迁移模型压缩算法[J]. 激光与光电子学进展, 2020, 57(6): 061021. Fei Pei, Jinfeng Liu, Xiaohe Li. An Image Style Transformation Model Compression Algorithm for Mobile Terminal[J]. Laser & Optoelectronics Progress, 2020, 57(6): 061021.

本文已被 1 篇论文引用
被引统计数据来源于中国光学期刊网
引用该论文: TXT   |   EndNote

相关论文

加载中...

关于本站 Cookie 的使用提示

中国光学期刊网使用基于 cookie 的技术来更好地为您提供各项服务,点击此处了解我们的隐私策略。 如您需继续使用本网站,请您授权我们使用本地 cookie 来保存部分信息。
全站搜索
您最值得信赖的光电行业旗舰网络服务平台!