IRCNN icon indicating copy to clipboard operation
IRCNN copied to clipboard

Denoise

Open BlackBaiX opened this issue 6 years ago • 8 comments

How do I modify the model if I want the model input to be noise image and output to be denoise image?

BlackBaiX avatar Aug 09 '18 03:08 BlackBaiX

First off: You wouldn't necessary change the model to do that. Secondly the program is already doing that as far as i can see.

Obliviously avatar Sep 21 '18 09:09 Obliviously

@lipengFu thank you very much for sharing the code. May I ask what is the requirement of the data set? Can you share the data set you adopted?

anjingxing avatar Nov 13 '18 08:11 anjingxing

@anjingxing 时间有点久了,数据集应该是BSD500中的图像

lipengFu avatar Nov 13 '18 08:11 lipengFu

@lipengFu thank you,As a beginner,I don't know a lot about it,I'm sorry to disturb you。

anjingxing avatar Nov 13 '18 09:11 anjingxing

@anjingxing http://www.eecs.berkeley.edu/Research/Projects/CS/vision/grouping/BSR/BSR_bsds500.tgz

lipengFu avatar Nov 14 '18 01:11 lipengFu

@lipengFu thank you very much

anjingxing avatar Nov 14 '18 04:11 anjingxing

@anjingxing did you happen to run the code? Can you please share which data set you used and how to train and test?

@lipengFu If any help from you will be really great. Hope I am not asking for much.

deepLearnerNew avatar May 23 '19 19:05 deepLearnerNew

这个代码貌似存在问题 self.conv = slim.conv2d(conv, 3, [3, 3], rate=self.dilate[6], activation_fn=None, weights_regularizer=slim.l2_regularizer(self.hps.weight_decay_rate), scope='conv_%d'%(self.hps.num_conv), reuse=self.reuse) self.clear = self._image - self.conv 那么问题来了,计算损失的时候用self.conv 这个应该是噪声图像,计算结果的时候用model.clear,自相矛盾 content_cost = (1./self.hps.batch_size)*tf.nn.l2_loss(self.conv - self.label) tf_psnr = tf.image.psnr(labels, model.clear, 1.)

navy63 avatar Sep 27 '19 02:09 navy63