Coder Social home page Coder Social logo

prenet's People

Contributors

csdwren avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

prenet's Issues

Training my own data set

I made a dataset of my own with only rain charts and no rain charts and no rain tracks like Rain100 can I train it?

RainTrainL dataset

hello! thanks a lot for your code!!
in the RainTrainL dataset, where do rainstreak-xxx.png and rainregion-xxx.png come from? how to get them?
if i create a dataset on my own, and there are only norain and rain image pairs(without rainstreak and rainnregion images) is it possilble to train on this dataset? if not, what should i do?
thanks a lot!

about epoch

Hi I would like to ask you to train 100 epoch on each dataset?

Training time

Hello, author! How long does it take to train PReNet and PReNet_r on your device?

关于数据集

您好,请问rain12 和rain1400 的训练集和测试集分别是什么啊?我在云盘里好像没找到,这让我很困惑。

test datasets

测试数据集的rainy_image是在哪里?网盘里没有

Data set path

You have 4 .py training files (train_PReNet, train_PRN, train_PReNet_r, train_PRN_r), but you have 3 training datasets (RainTrainH, RainTrainL, and Rain12600). When filling in the path, is there any specific .py corresponding to a specific training set path, or are these three optional?

How to put 100H, 100L and 12600 together to train a model?

Hello, thank you for your contribution!
I would like to ask how to put three models of 100H, 100L and 12600 together to train a model? If you train together, will you still train for 100 epochs? Will it be a waste of time?
Looking forward to your reply, thanks.

关于加载数据集

你好,我在使用训练代码时,加载数据出错,提示为
OSError: Unable to open file (unable to open file: name = 'datasets/train/RainTrainH/train_target.h5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)
训练集使用的是RainTrainH,该怎么解决呢?

视频数据

作者你好 请问最后处理视频的那个视频在哪里下载呢 谢谢

关于加载数据集

你好,我在使用训练代码时,加载数据出错,提示为
OSError: Unable to open file (unable to open file: name = 'datasets/train/RainTrainH/train_target.h5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)
训练集使用的是RainTrainH,
命令行为 !python train_PReNet.py --preprocess True --save_path logs/Rain100L/PReNet --data_path datasets/train/RainTrainL
请问该怎么解决呢?

关于参数共享

你好,你们有没有试过每个阶段的卷积层(除了convlstm层)参数不共享的话,会降低多少?还有感觉计算y通道的psnr和rgb通道psnr的数值相差有点大,然后不同论文又都混着用,就比较麻烦

about Rain100L dataset

Hi. Does Rain100L training dataset only has 200 images?
Rain100L in other paper seems to have 1800 images for training.
Does this problem affect the experimental results?

rain100H训练好的模型

你好,能分享下你的rain100H训练好的模型吗?prenet和prn任意一个都行,我发现matlab计算过后的psnr会比scikit-learn计算的高大概1左右,谢谢

no file named train_target.h5

hello! thanks a lot for your wonderful code!
I want to try ur code on my own dataset, so i create a folder named 'mydatasets' and put it in 'datasets/train/', and put rain and norain images in this folder.

i run 'python train_PReNet.py --preprocess True save_path xxxx -- data_path datasets/train/mydatasets'
and error occurs as below:
Unable to open file (unable to open file: name = ' datasets/train/mydatasets/train_target.h5') no such file or directory

so, how to get the file train_target.h5? looking forward to ur response!!!

关于psnr指标

您好我用rain100H训练100个epoch后并且测试出来的指标只有PSNR=28.0568,似乎并没有达到论文中29.46这么高

数据集

可以给下论文上的两张真实的数据集图片吗?

Different stage t output

How to obtain different stages of the derain image, like the Fig.1 t=1,2,4 in your paper?
Is it the intermediate output of a complete network or is it the result of constructing different networks to experiment with?

Question of loss and training

Hello, thank you for your contribution. I have read your thesis, can you answer some questions?

  1. Does Loss only use SSIM and not MSE? What happens if these two Loss are used at the same time?
  2. About four networks. During training, are these 4 written separately when typing commands?
    For example to train PReNet, I just need to type

bash train_PReNet.sh

and I don't need to type the remaining three

bash train_PRN.sh
bash train_PReNet_r.sh
bash train_PRN_r.sh

Looking forward to your answer, thank you

关于RainTrainL数据集

有以下几个问题想请教一下作者:
1.请问为什么这个数据集中除了由于无雨图外还有雨痕和雨图,这两个是怎么得到的呢(这个数据集是怎么制作的)?
2.四种图片类型放在同一个文件夹下又是怎么分别读取的呢?
3.在根据sh文件按要求放置数据集后为什么报错UnboundLocalError: local variable 'input_train' referenced before assignment,代码中的input_train和out_train是怎么设置或者读取(得到)的?
非常感谢!期待您的回复

rescan pretrained model

I can not find a pre-trained weight of rescan, do you have it? can you share a copy? thanks.

关于递归监督

请问,文章中提到的损失函数递归监督是怎么实现的呀?没有思路

dataset

Hello, could you share your preprocessing datasets? Thanks!

About the train and test datasets

Hi, your work has inspired me a lot!But also some questions that bother me.
Train Test
RainTrainH Rain100H
RainTrainL Rain100L,Rain12
Rain12600 Rain1400

Is this correspondence correct? I need to train the models separately on the TrainH,TrainL,Rain12600 datasets, right?

what is h5py version ?

I tried to read the datasets, but error shows

  File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
  File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
  File "h5py/h5f.pyx", line 96, in h5py.h5f.open
OSError: Unable to open file (bad object header version number)

any suggestion ?

running time

Why inference time with RESCAN is less than PRENET, not as described in the paper. I use GPU.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.