hellloxiaotian / LESRCNN

Lightweight Image Super-Resolution with Enhanced CNN (Knowledge-Based Systems,2020)
https://www.sciencedirect.com/science/article/abs/pii/S0950705120304391
217 stars 32 forks source link

运行时间 #1

Open Lininggggggg opened 3 years ago

Lininggggggg commented 3 years ago

请问运行时间是在什么硬件平台测的?是gpu还是cpu?

hellloxiaotian commented 3 years ago

Hi,在论文4.3部分介绍了LESRCNN技术的运行环境和平台(Ubuntu 16.04的系统、i7-7800的CPU、16G的内存、两块GTX 1080Ti的显卡和9.0 CUDA、7.5 CuDNN)。测试时间是指LESRCNN模型预测到高清图像到保存CPU平台上所花费的时间

Lininggggggg commented 3 years ago

好的,谢谢啊

Lininggggggg commented 3 years ago

还是有问题,请问你们有测试FSRCNN的运行时间吗?没有看到对比,理论上cpu平台应该跑不到实时才对啊

972461099 commented 3 years ago

我在cpu上测试一张320*240的图片都需要1.2秒的时间。。。。

Lininggggggg commented 3 years ago

我在cpu上测试一张320*240的图片都需要1.2秒的时间。。。。

我滴妈呀,那论文里表格不是说20ms左右吗?是得多小的尺寸?(捂脸ing)

972461099 commented 3 years ago

我在cpu上测试一张320*240的图片都需要1.2秒的时间。。。。

我滴妈呀,那论文里表格不是说20ms左右吗?是得多小的尺寸?(捂脸ing)

他的测试结果应该是在两块1080TI上的(叹气)

hzpzlz commented 3 years ago

请问你们是用的什么方法,在什么图像尺寸下测试的FLOPs和参数量,我这边分别拿着IMDN上FLOPs中的profile.py和github上thop代码中的profile.py测试,FLOPs与您论文中的数据相差甚远,参数量也是有所差距,请问可以解答下我的疑惑吗?

zt706 commented 2 years ago

Table 9: Complexity of five networks for SISR.

Methods Parameters Flops
VDSR [22] 665K 10.90G
DnCNN [69] 556K 9.18G
DRCN [23] 1774K 29.07G
MemNet [47] 677K 11.09G
LESRCNN (Ours) 516K 3.08G

What is the input size of this 3.08G flops

In my test,When the input size is 48x48 The result is as follows:

Input shape: (3, 48, 48) Flops: 2.82 GFLOPs Params: 626.3 k

请问你们是用的什么方法,在什么图像尺寸下测试的FLOPs和参数量,我这边分别拿着IMDN上FLOPs中的profile.py和github上thop代码中的profile.py测试,FLOPs与您论文中的数据相差甚远,参数量也是有所差距,请问可以解答下我的疑惑吗?