capogluuu / denoising-autoencoders-with-pytorch Goto Github PK
View Code? Open in Web Editor NEWRemove noise from printed text with CNN Autoencoder in Pytorch
Remove noise from printed text with CNN Autoencoder in Pytorch
Hello, When I try to run the following lines on Colab,
a = DataLoader_Class(path_zip, path)
b = a.read_all_image()
a.see_an_image(5)
I get this error with see_an_image(5):
TypeError Traceback (most recent call last)
in ()
1 a = DataLoader_Class(path_zip, path)
2 b = a.read_all_image()
----> 3 a.see_an_image(5)
5 frames
/usr/local/lib/python3.7/dist-packages/matplotlib/image.py in set_data(self, A)
697 or self._A.ndim == 3 and self._A.shape[-1] in [3, 4]):
698 raise TypeError("Invalid shape {} for image data"
--> 699 .format(self._A.shape))
700
701 if self._A.ndim == 3:
TypeError: Invalid shape (416, 528, 1) for image data
Do you have any idea how I can fix this issue?
Thanks in advance
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.