Comments (8)
Have you tried to reproduce the two images yourself? I think the image in Github might not be consistent with the code.
from deepguidedfilter.
Yep, I did. I have run the 'test_fast_guided_filter.py', but I can't get consistent result still. Here is the result of tensorflow
and this is result of pytorch
from deepguidedfilter.
I found the issue. The guided image in pytorch is the input image while it's the output image in TF.
from deepguidedfilter.
OK, they look the same now, thank you!
from deepguidedfilter.
I also ran into this issue, but i fail to see why the fast guided filter outputs look similar,
while the guided filter outputs look different. Could you elaborate your last comment?
Or if there is a code change, could you commit it? Thanks.
from deepguidedfilter.
The bug is in the test scripts:
In TF
, the inputs are [lr_rgb, lr_gt, gt]]
;
In PT
, the inputs are [lr_rgb, lr_gt, rgb]]
.
So, the test results are different.
from deepguidedfilter.
I see, thanks for the explanation. Do you mind merging the fix?
I guess many people run into this issue.
Also, for the pytorch guided filter i get strange output.
Maybe it is different pytorch version, etc., but i tried to fix the warnings (upsample vs interpolate, etc.),
but i could not find the reason. So the r.jpg looks like this:
Any advice for this issue?
from deepguidedfilter.
PR
is welcome.- It's the correct output image. To obtain a high-quality image, please tune the hyper-params in
GuidedFilter
, i.e.radius
andeps
.
from deepguidedfilter.
Related Issues (20)
- OutOfRangeError (see above for traceback): RandomShuffleQueue '_2_shuffle_batch/random_shuffle_queue' is closed and has insufficient elements (requested 8, current size 0) [[node shuffle_batch (defined at D:\DeepGuidedFilter_master\ComputerVision\MonoDepth\monodepth_dataloader.py:71) ]] HOT 1
- I cant generate Ground Truth img in Image Processing HOT 4
- an application about guided filter to disentangle convolution effect from GAN image HOT 1
- AttributeError: Can't pickle local object 'SuDataset.__init__.<locals>.append' HOT 2
- I got "error: unrecognized arguments:" when I run test_time.py on Image processing. Could you pls help me? HOT 4
- most examples use classical guided filter rather than the one in paper HOT 1
- About the structure of ConvGuidedFilter HOT 2
- can't reproduce results of Saliency_DSS with dgf HOT 2
- Coarse to fine using network HOT 1
- where can I get the supplementary material that describe the forward algorithm? HOT 1
- Contributing a Multi-channel Guided Filter HOT 1
- What about guided filter with multiple guidance images? HOT 1
- The question about setting FINE_SIZE in Config HOT 1
- The usage of "AdaptiveNorm" layer in the modules HOT 1
- What is low resolution image in context of semantic segmentation HOT 3
- can you train only Guide filter layer? HOT 1
- 关于输入是RGB图像三通道,输出是alpha单通道信息 HOT 2
- How is dehazing done in the paper HOT 1
- Can you provide a keras-based code? HOT 1
- Missing License HOT 1
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 deepguidedfilter.