AECRNet-MindSpore icon indicating copy to clipboard operation
AECRNet-MindSpore copied to clipboard

关于model.py中Dehaze模型的实现细节问题?

Open foreverfruit opened this issue 3 years ago • 2 comments

def __init__(self, input_nc, output_nc, ngf=64):
    ...
    self.block = DehazeBlock(default_conv, ngf*4, 3)
    ...

def construct(self, x):
    ...
    x1 = self.block(x_down3)
    x2 = self.block(x1)

    x3 = self.block(x2)
    x4 = self.block(x3)

    x5 = self.block(x4)
    x6 = self.block(x5)
    ....

这样写是不是会造成网络中只有一个DehazeBlock,而不是论文中所说的6个??

foreverfruit avatar Aug 22 '21 18:08 foreverfruit

Same question, whether the code has some mistake? Looking forward to your reply.

TaoWangzj avatar Oct 12 '21 03:10 TaoWangzj

好问题,按照原文“Note that we significantly reduce the number of FA blocks by only using 6 FA blocks (vs. 57 FA blocks in FFA-Net)” FFA-Net image 确实不应该是参数共享?

wpf535236337 avatar Nov 11 '21 12:11 wpf535236337