Comments (8)
Hi,
I re-ran the code with multi-GPU (2, 3, or 4 GPUs) and they all passed. I used anaconda to install pytorch0.4.0. You can try with this instead of Docker.
However, I didn't use Docker to train or test the code. It seems there're some problems in /proc/mounts. If you still want to use Docker to run the code, you may refer to those links to solve your problem.
https://stackoverflow.com/questions/46138549/docker-openmpi-and-unexpected-end-of-proc-mounts-line
http://www.cloudypoint.com/Tutorials/discussion/docker-solved-docker-openmpi-and-unexpected-end-of-procmounts-line/
from rcan.
Thanks for your good suggestions!I will try to figure it out. I have started training 2x model with 1 P40 GPU,but I found 1000 epochs needs about 20 days to finish,could you please tell more details about traning time and corresponding gpu numbers? By the way,could I reproduce the paper’ results with you training command without any other training tricks?(Your work is really impressive,I will dedicate to super-resolution studying and hope to generate great works as yours)
from rcan.
Hi,
I use one Titan Xp for each model. It takes about 6 days to reach 1000 epochs. It seems that multi-gpu training cannot boost the training obviously. Each training image is converted to .npy file to save training time. I also moved the training data to SSD, which can also boost the training.
No extra tricks were used, the results in the paper can be reproduced with my provided training scripts. Some people have reproduced the results with the code.
from rcan.
I see you offer some script for data converting and processing, but as a new pytorch learner, I do quite not understand how the training images being converted to .npy files?
from rcan.
Hi,
Please see RCAN_TrainCode/code/data/srdata.py lines 30 to 50.
from rcan.
Thanks, it means that I just need to python main.py --model RCAN --save RCAN_BIX2_G10R20P48 --scale 2 --n_resgroups 10 --n_resblocks 20 --n_feats 64 --reset --chop --save_results --print_model --patch_size 96
command and the code will automatically run to the line 30 to 50 to finish the .npy generating process, am I right?
from rcan.
Yes, you are right.
from rcan.
Hi Yulun,
You mentioned in the above comments that "multi-gpu training cannot boost the training obviously". Why is that?
Also, could you please tell how did you end up choosing RG=10 and RCAB=20 for your model? Can I reduce any blocks to train the model faster without compromising accuracy?
Thanks.
from rcan.
Related Issues (20)
- Tips for training from scratch
- 训练的时候出现RuntimeError !! HOT 2
- how to choose the best model for test images?model_best.pt or model_latest.pt ?
- About test on Set5 dataset
- The Training time increasses while increasing the number of GPU
- About test on Set14
- How to divide the image into patches?
- NameError: ForkingPickler(file, protocol).dump(obj) name 'torch' is not definedBrokenPipeError : [Errno 32] Broken pipe
- About the calculation of PSNR
- RuntimeError:
- Understanding the whole process
- RCAN: tail module
- Can you provide the change curve of psnr during your training?
- batchsize=1
- How do self-ensemble
- The output value explode
- PSNR Problem
- Baidu download link in the “The whole test pipeline” is not useful
- 为什么使用--chop和不使用--chop得到的结果不一样
- 训练中断了,我应该修改哪里的代码继续训练
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 rcan.