Comments (3)
The output images are being saved as 16-bit images. See this line of testing code. In this case above, the 8 LSB bits hold the result, and the 8 MSB bits are zeros. This is why you are seeing black images.
Can you please try the following:
-
Try a 16-bit image instead of 8-bit. You should not be seeing a black image now as output.
python test.py --set_names Sintel_sample --type_8_or_16 1 --quant 6 --quant_end 16 --dep 4 --save_result 1
-
For your 8-bit recovery test case above, convert the output 16-bit images to 8-bit as
img = cv2.imread('kodim01_output.png',-1).astype(np.uint8)
cv2.imwrite('kodim01_output_8bit.png',img)
The images should be correctly visualized now. -
I am not sure why the PSNR and SSIM are not being calculated correctly. Can you confirm that your conda environment is using
scikit-image=0.15.0
?
from a-little-bit-more.
@abhijithpunnappurath Thanks very much for the anwser!
I find it works well on Google colab, as well as when I just use a single GPU.
This is really a beautiful work, simple but effective. I would like to learn from it!
from a-little-bit-more.
I see, thanks for letting me know.
Very happy to hear that you found our work interesting!
Thank you.
from a-little-bit-more.
Related Issues (2)
- About train 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 a-little-bit-more.