vandermode / errnet Goto Github PK
View Code? Open in Web Editor NEWSingle Image Reflection Removal Exploiting Misaligned Training Data and Network Enhancements (CVPR 2019)
License: MIT License
Single Image Reflection Removal Exploiting Misaligned Training Data and Network Enhancements (CVPR 2019)
License: MIT License
Hi,
How do I save the synthetic training dataset for reflection removal generated using PASCAL VOC2012 images locally? Is it being generated on the fly? Could you please provide code pointers / provide the synthetic training dataset? (mixed, background and reflection layer images).
Thanks
Rohan
Hi, I've noticed that your code runs reset () after each epoch, but this function is only for CEIL data, and there is no reset for real20. I'd like to ask a related question about this.
If I use all my data, just like real20, it has been synthesized in a fixed order, whether it is necessary to reset(), whether it is necessary or optional.
@Vandermode
Hi,I think you have not use gradient operator loss in your code, but in your paper it does
I was trying to run ERRNet on my machine but was getting this error again and again.
I'm running
python test_errnet.py --name errnet -r --icnn_path checkpoints/errnet/errnet_060_00463920.pt --hyper
According to the official document, 'imresize' is removed in SciPy 1.3.0.
Could you release your supp? I read your paper and you refer the suppl. material, but I searched the CVPR 2019 Open Access Repository and the google website I cannot find the suppl, look forward to your reply.
Hi, I used the pretrained model you provided to test your dataset. But it's not as good as your paper shows. Could you give me some advice on this problem? @Vandermode
/ERRNet/data/image_folder.py", line 33, in make_dataset
assert os.path.isdir(dir), '%s is not a valid directory' % dir
AssertionError: /media/kaixuan/DATA/Papers/Code/Data/Reflection/VOCdevkit/VOC2012/PNGImages is not a valid directory
Hi, it seems that this happens when the data in a training batch isn't from the same dataset. (caused by the extra 'real' tag in train_dataset_real
)
Did you train with only batch size=1? In my case it takes 3GB and I think it could be faster with larger batch size.
hi, thanks for your great work, when i test a large image, i got oom error.
And i have seen the old issues, do you provide sliding-window strategy in your code?
404 The requested URL was not found on this server.
A few minute ago i did test on CEIL Synthetic dataset with your pre-trained weights.
But, When i check the results, As well as other quantitative results are low, all of inferences are black.
Hi, I just trained the errnet with the aligned datas follow the second part (Playing with aligned data) on GitHub. And The effect is good on aligning datasets. And could you give me some advice on how to utilize misaligned training data?
Hi, when I reproduced your results(only with aligned data), I found that the loss for the first ten times fell very fast, and the subsequent decrease was slow. For example, VGG dropped from 4 to 1.81 (1.31 after 60 iterations) and Ipixel dropped from 0.021 to 0.0094 (0.09 after 60 iterations) after only 15 repetitions.
I also tested testdata_reflection_synthetic_table2 with the 15-iterations model and got relatively good visual effects. Is this normal? Or something i did wrong.
Dear Team,
To crop the center region with size 224 x 224 any specific technique is used to crop and save is acheived?
Hi, I have read your code, and you have implemented patch-gan discrimator, but not used. I just doubt that if it helps to improve the quality of reflection removal
Your work is very great. But we have some questions about Pascal VOC dataset. When we train, we don't find the ground truth of Pascal VOC dataset. Do we miss something, or how do you generate the GT of Pascal VOC?
Can you share the original result images? Thanks.
Hi,I've resized the short edge of images in real20 dataset to 512(used torchvision.transforms.Resize).. I tested your released model but it got psnr of 21.89, ssim of 0.804.
I don't understand why the psnr I tested is not the same as your paper(the psnr of 22.89, the ssim of 0.803 in your paper) , I hope to get your answer.
The model download link is broken. Could you kindly check it.
Hi, can you release your unaligned dataset?
Is there any hint for put dataset in the right place for at least a test?
Hi,
The google drive of pretrained model is not available, could you please check that link?
Best regards
hey! When i train the model,it reports error like this line 357, in _process_next_batch raise batch.exc_type(batch.exc_msg) KeyError: 'Traceback (most recent call last)
. I wonder is this attribute to the data sample size problem?
Actually, The size from three sets for training are
Do I need to center-crop 90(actually 89) samples in real dataset to 224x224 to train this model??
Thank you !
Should the real training data be normalized to range [0,1] during training? I find your training code doesn't do that.
Hi, thanks for your awesome work.
I want to evaluate your model on Real20.
However, the resolution of real20 dataset is too large for prediction.
Which size are you use to evaluate?
Hi,I found that during the training process, the loss of D decreased (maybe to 0.2), and the loss of G increased (maybe to 6). Is this normal?
Hi, I've noticed that the implemented architecture of DRNet is slightly different from the architecture described on the Figure 2 in the paper https://arxiv.org/pdf/1904.00637.pdf:
(1) in the code SELayer consists of Linear-ReLU-Linear-Sigmoid layers, but in the paper convolutional layers are drawn instead of Linear
(2) in the code deconvolution+convolution layers are used after residual blocks, but in the paper only a convolutional layer is drawn.
Hi, The "VOC2012_224_train_png.txt" file lists 15,287 images and the training dataset consists of half of 15,287 i.e. 7,643 images. Is the split for the reflection and transmission layer images random? Can I split the 15,287 images into two equal sets randomly : transmission layer and reflection layer, and go on to combine one image from each set to get 7,643 images containing reflection ?
Dear Team,
How to fix the multiple workers on windows? I run that code on windows, and have this error when I set the nThread=8. It's Ok for 0, but the code run too slow and broke down. How to fix it ?
Is it possible to add license file?
I want to use both code and dataset for my project.
Dataset means this.
We captured a new dataset containing 450 unaligned image pairs that are considerably easier to collect.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.