Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project 5 - Face generation (matplotlib version issue) #235

Closed
NekuSakuraba opened this issue Dec 7, 2017 · 4 comments
Closed

Project 5 - Face generation (matplotlib version issue) #235

NekuSakuraba opened this issue Dec 7, 2017 · 4 comments
Assignees
Labels

Comments

@NekuSakuraba
Copy link

The following code doesn't work with matplotlib version 2.1.0.
I had to downgrade it to 2.0.2 version.

mnist_images = helper.get_batch(glob(os.path.join(data_dir, 'mnist/*.jpg'))[:show_n_images], 28, 28, 'L')
pyplot.imshow(helper.images_square_grid(mnist_images, 'L'), cmap='gray')
@NekuSakuraba NekuSakuraba changed the title Project 5 - Face generation Project 5 - Face generation (matplotlib version issue) Dec 7, 2017
@kkalera
Copy link

kkalera commented Jan 10, 2018

Same issue here, for anyone looking how to downgrade, run the following command if you're using anaconda:

conda install matplotlib=2.0.0

Again, sad to see no response from udacity. Not the first issue without response I encounter.

@thak123
Copy link

thak123 commented Feb 16, 2018

Why is the code not working with latest matplotlib ?

@OzgunBu
Copy link

OzgunBu commented Mar 1, 2018

I used this for now, just a hack, though :(

mnist_images = helper.get_batch(glob(os.path.join(data_dir, 'mnist/*.jpg'))[:show_n_images], 28, 28, 'RGB')
pyplot.imshow(helper.images_square_grid(mnist_images, 'RGB'))

@abhiojha8 abhiojha8 self-assigned this Mar 30, 2021
@abhiojha8
Copy link
Contributor

The code currently works only on the versions mentioned in the requirements.txt or the ones provided with the .yml file. I understand that some of them are now deprecated. We are working on updating the code and requirements to match the latest versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants