hellloxiaotian / BRDNet

Image denoising using deep CNN with batch renormalization(Neural Networks,2020)
https://www.sciencedirect.com/science/article/pii/S0893608019302394
186 stars 32 forks source link

describe method #9

Open Waleed-Ahmed-Khan opened 3 years ago

Waleed-Ahmed-Khan commented 3 years ago

parser.add_argument('--model', default='BRDNet', type=str, help='choose a type of model') in this line can we change method from change BRDNet to DnCNN[60]?or any other method that you give the value in result

Waleed-Ahmed-Khan commented 3 years ago

please sir answer me i have to know pleasee

hellloxiaotian commented 3 years ago

I have used GPU in my code. Additionally, please refer to pytorch about how to use GPU.

At 2020-10-12 13:51:00, "Waleed Ahmed" notifications@github.com wrote:

please sir answer me i have to know pleasee

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

hellloxiaotian commented 3 years ago

My model is BRDNet. Thus, that doesn't need change BRDNet to DnCNN.

At 2020-10-11 22:11:15, "Waleed Ahmed" notifications@github.com wrote:

parser.add_argument('--model', default='BRDNet', type=str, help='choose a type of model') in this line can we change method from change BRDNet to DnCNN[60]?or any other method that you give the value in result

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

kavita19 commented 3 years ago

can we run this code on python 3.8? because i am trying to run this code but I am getting the error below.


ModuleNotFoundError Traceback (most recent call last)

in ----> 1 from batch_renorm import BatchRenormalization 2 def BRDNet(): #original format def BRDNet(), data is used to obtain the reshape of input data 3 inpt = Input(shape=(None,None,3)) #if the image is 3, it is color image. If the image is 1, it is gray color, 201807082123tcw 4 # 1st layer, Conv+relu 5 x = Conv2D(filters=64, kernel_size=(3,3), strides=(1,1), padding='same')(inpt) ModuleNotFoundError: No module named 'batch_renorm'
hellloxiaotian commented 3 years ago

Dir Mr or Mrs,

No, my code is running at python 2.7. The python 2.7 library is different from python 3.8 library.

Best wishes, Chunwei

At 2020-12-12 15:54:53, "kavita19" notifications@github.com wrote:

can we run this code on python 3.8? because i am trying to run this code but I am getting the error below.

ModuleNotFoundError Traceback (most recent call last) in ----> 1 from batch_renorm import BatchRenormalization 2 def BRDNet(): #original format def BRDNet(), data is used to obtain the reshape of input data 3 inpt = Input(shape=(None,None,3)) #if the image is 3, it is color image. If the image is 1, it is gray color, 201807082123tcw 4 # 1st layer, Conv+relu 5 x = Conv2D(filters=64, kernel_size=(3,3), strides=(1,1), padding='same')(inpt)

ModuleNotFoundError: No module named 'batch_renorm'

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.