Comments (5)
Hi, Mrhard1999.
I used an RTX 2080 TI with 11GB memory, but I think your setting is enough to run inference.
The required memory size depends on the test image size and I think the memory issue is due to the larger image size.
Can you specify the size of the image?
Or I also implemented code for this by cropping a large image into several smaller images and forwarding these smaller images.
See the below code in './src/trainer/base.py'.
To do this, you should change the configuration file by adding a line: "crop: 512" like down below.
The default setting is 512 size with no overlapping, but I recommend setting a slight overlap to prevent boundary artifacts.
Please let me know If you still have a problem.
Thank you:)
from ap-bsn.
I'm sorry to get back to you so late, the single test was unsuccessful, it is indeed a problem with the size of the image as you said. But I still have a question about two datasets, the DND dataset is a mat file, and it is still mat after training. I didn't understand what your paper said about the 50 pairs of images in DND for testing the model, where is its point of comparison, or do these 50 pairs of pictures need to be taken out of MAT? The second question is appropriate what is the reason why black image blocks are produced when I run the test.py of the SID
D dataset (as shown below)? Looking forward to hearing from you
from ap-bsn.
Hi, Mrhard1999
About the first question, the DND dataset has 50 pairs of images, but they only released noisy images for evaluation.
As the AP-BSN is a self-supervised method, we both trained & tested using these released 50 noisy images.
Also, as you said, the released DND images have .mat format, so we load tensor images from .mat files.
Please refer to the code: './src/datahandler/DND.py'.
In addition, I recommend preparing the dataset using './prep.py' which crops and saves as .png files for training.
And could you specify more details about your test setting?
Did you test the model trained yourself? or use the pre-trained model?
If you are looking for the evaluated images from the pre-trained model, there are evaluated SIDD images for both validation and benchmark.
The links are in the README.md.
Thank you:)
from ap-bsn.
102/5000
I saw thatevaluated SIDD images for both validation and benchmark.But when i test the model by myself,I haven't changed any parameters. I used a pre-trained model. I would like to know why there would be one black image block after another in the output result.
from ap-bsn.
I checked one more time from the beginning including cloning the project.
I cannot find the error that you mentioned (it works for me like the below image)
Could you follow the instructions in README.md one more time?
from ap-bsn.
Related Issues (16)
- Code related issues HOT 4
- about test dataset HOT 1
- About experiment results HOT 2
- About results on SIDD benchmark HOT 1
- About model trained on SIDD Medium and inference on SIDD benchmark HOT 2
- Normalization and preprocessing HOT 4
- Question about the noise correlation HOT 3
- about dataset
- whe testing,only pd=2,why does it achieve good denoising performance?
- I wonder how “crop_size” matters?
- Questions about loading data
- 1
- How to draw a spatial correlation map of noise in Figure 2? Can you provide the relevant code? I have encountered some difficulties. HOT 1
- Poor performance HOT 1
- How do I convert the output png image to .mat to upload to SIDDbenchmark for submission?
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 ap-bsn.