lipengFu / IRCNN

IRCNN Image denoise
36 stars 15 forks source link

Denoise #1

Open BlackBaiX opened 6 years ago

BlackBaiX commented 6 years ago

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

Obliviously commented 5 years ago

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.

anjingxing commented 5 years ago

@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?

lipengFu commented 5 years ago

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

anjingxing commented 5 years ago

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

lipengFu commented 5 years ago

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

anjingxing commented 5 years ago

@lipengFu thank you very much

deepLearnerNew commented 5 years ago

@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.

navy63 commented 4 years ago

这个代码貌似存在问题 self.conv = slim.conv2d(conv, 3, [3, 3], rate=self.dilate[6], activation_fn=None, weights_regularizer=slim.l2_regularizer(self.hps.weight_decayrate), 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.)