Closed ghost closed 6 years ago
First step, I run GenerateTrainingPatches.m
,Second step ,I run Demo_Train_model_64_25_Res_Bnorm_Adam.m
to train.But I find data_size is NAN.what's wrong with it?
then I should run Demo_Test_model_64_25_Res_Bnorm_Adam.m
?
By the way,if I just want to validate your code,could I run Demo_test_DnCNN.m
directly? But PSNR and SSIM both are NAN.so,could you figure the problem?
maybe I solved above problem,but I met the follow problem :
>> Demo_test_DnCNN
引用了不存在的字段 'dilate'。
出错 vl_simplenn (line 303)
'dilate', l.dilate, ...
出错 Demo_test_DnCNN (line 64)
res = vl_simplenn(net,input,[],[],'conserveMemory',true,'mode','test');
maybe I solved above problem,but
hello , I run Demo_test_DnCNN.m , But PSNR and SSIM both are NAN.so,could you figure the problem? and run DnCNN_train ,the result have error and is Input factor is insufficient DnCNN_train(line 75) net = vl_simplenn_tidy(net); can you help me
I dont have this problem. It seems like you might have some problem with your training. How bout your training error? it should reduce around 1.0.
what is difference for 1.0 and 1.1? l run the 1.0 also have error.
Average PSNR is NaNdB Average SSIM is NaN
For the NAN problem in version 1.1, you should (1) add the path to 'train400' data, then (2) run 'data\GenerateTrainingPatches.m', so that it will generate the training data for you. The training data is storaged in 'data\TrainingPatches\imdb_40_128.mat'. And please check your training data size 'imdb_40_128.mat' whether you really have the data or not.
thank you very much
wait , what is (1), 1.1 add or 1.0 add?
You should add it for TrainingCodes_v1.1 since it doesn't have 'Train400' images in their 'data' folder. The 'Train400' images path is located in 'TrainingCodes_v1.0' folder.
OK, thank you
Hi, I don't understand how the mat files in model are created. Can you please tell in what sequence the code should run?
hello. first, you should run Demo_test_DnCNN3. if you use GPU, ni should remove "%net = vl_simplenn_tidy(net);" "%", and if have error, in Demo_test_DnCNN3 add your vl_setupnn path. then run GenerateData_model_64_25_Res_Bnorm_Adam.
I am actually new to deep learning. I didn't get how the models are created as .mat files. We need to run some code and then save it as mat file. Where is this code to create model? Thank you.
I am new to deep learning. how did u you resolve the data_size and data_meme NaN issue? @goonder .
也许我解决了上面的问题,但我遇到了以下问题:
>> Demo_test_DnCNN 引用了不存在的字段 'dilate'。 出错 vl_simplenn (line 303) 'dilate', l.dilate, ... 出错 Demo_test_DnCNN (line 64) res = vl_simplenn(net,input,[],[],'conserveMemory',true,'mode','test');
也许我解决了上面的问题,但是
您好,我现在也遇到了同样的问题,请问您是怎么解决的。
I am new to deep learning. how did you resolve the data_size and data_meme NaN issue? @goonder @allenkate12
First, please check your CUDN and cudnn is downloaded. Second, check your GPU memory. -----Original Message----- From: "15230127713"notifications@github.com To: "cszn/DnCNN"DnCNN@noreply.github.com; Cc: "chenjian123321"chenjian105@naver.com; "Comment"comment@noreply.github.com; Sent: 2019-05-10 (금) 10:09:39 (GMT+09:00) Subject: Re: [cszn/DnCNN] data_size is NAN (#18)
I am new to deep learning. how did you resolve the data_size and data_meme NaN issue? @goonder @allenkate12 — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
maybe I solved above problem,but I met the follow problem :
>> Demo_test_DnCNN 引用了不存在的字段 'dilate'。 出错 vl_simplenn (line 303) 'dilate', l.dilate, ... 出错 Demo_test_DnCNN (line 64) res = vl_simplenn(net,input,[],[],'conserveMemory',true,'mode','test');
maybe I solved above problem,but
How can you solve this problem,could you tell me? I have met the same problem,my datasiaze is also NAN.
你好,你的信件我已收到,谢谢,薛亚楠。
I met some difficuties after use vl_compilenn().