Comments (7)
Hi, have you installed matconvnet?
from caffe-vdsr.
Hello. First of all, thanks for your wonderful project.
I have a question about the project. Have you tried to train VDSR model using matconvnet??
I have struggled with training it in matconvnet.
There is no gradient clipping method in matconvnet so I clipped weight gradients using L2 norm.
However, after training, PSNR result could not reach to even 32dB.
this is my implementation of gradient clipping in matconvnet DAG version
T = net.params(p).der;
clip = 1 / net.params(p).learningRate;
norm = sqrt(sum(T(:).^2));
if norm>clip
net.params(p).der = T*(clip/norm);
end
I tried various clip values but all trained result were similar.
I wish to know what different or problem are between my training method and Caffe.
If you have any tips or comments, I would be glad. thank you
from caffe-vdsr.
@cheongjunyoung Hi, I didn't trained VDSR using matconvnet.
But I think you can simply implement gradient clip by a clamp-like function, like
grad(>threshold) = threshold
grad(<-threshold) = -threshold
You don't need to do gradient clipping like caffe. The purpose of gradient clipping is to overcome the problem of gradient explosion. Just clip big gradient to a certain value and you can handle this problem.
from caffe-vdsr.
I have installed matconvnet. It seems that I need to run setup before I run a new project.
Thank you for your answering,I have a question about the training of multiple scale.How to train a model with {2,3}or{3,4}?Does it mean the input images are interpolated to different scale???
from caffe-vdsr.
@luciaL Yes, but I didn't achieve better performance than single scale training. You can have a try.
from caffe-vdsr.
Okay,thank you.The input images are divided into the same size patches.Then the output images are also the same size patches.How to get the full image with the same scale factor??
from caffe-vdsr.
It's the same with single scale training. I didn't achieve better performance in my experiments. Maybe you can ask the author of VDSR paper for help.
Thanks.
from caffe-vdsr.
Related Issues (20)
- Multi-Scale Implementation HOT 10
- Caffemodels corresponding to VDSR_official.mat and VDSR_ADAM.mat HOT 3
- This version isn't use the clip-gradients? HOT 2
- about the data sample HOT 3
- loss during training HOT 9
- Test Function at Caffe HOT 2
- Error in VDSR_Matconvnet (line 15) HOT 4
- A display bug in Demo_SR_Conv.m ?
- how to get high resolution output by using my own image data?
- Questions about parameters HOT 2
- sr_psnr less than bicubic psnr HOT 6
- Test code in pyCaffe/C++ HOT 7
- About learning rate HOT 2
- File for training data is offline – alternative location? HOT 2
- Data Preprocessing HOT 2
- About GPU load
- loss nan
- Thanks and some questions HOT 1
- Questions about usage HOT 1
- Some questions about DEM(>255)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from caffe-vdsr.