Giter Site home page Giter Site logo

Comments (8)

williamgilpin avatar williamgilpin commented on May 24, 2024

Hi @21dmohan thanks for checking out my project! It shouldn't be that intensive, if I recall correctly I also just used normal tensorflow, not tensorflow GPU. My specs also are pretty comparable:

Screen Shot 2019-06-25 at 15 01 57

Do you happen to know which line in cell 3 is crashing it? Is it potentially a problem with plt.imshow?
Or is it definitely the sess.run? If the latter, then I'm concerned that this might be a tensorflow version issue---when I wrote this I was using tensorflow 1.

from convoca.

21dmohan avatar 21dmohan commented on May 24, 2024

Interesting, it appears to be an issue with plt.imshow (the kernel dies at the fourth cell):

Screen Shot 2019-06-25 at 3 06 39 PM

Do you have any suggestions as to how to fix this?

from convoca.

williamgilpin avatar williamgilpin commented on May 24, 2024

Okay that's a relief. What is out.shape? Does matplotlib otherwise work? For example,

plt.imshow(np.identity(3))

from convoca.

21dmohan avatar 21dmohan commented on May 24, 2024

It appears that my matplotlib is not working:

Screen Shot 2019-06-25 at 3 14 41 PM

I'll try and sort that out! Thank you so much! I'll let you know if I have any questions :)

from convoca.

21dmohan avatar 21dmohan commented on May 24, 2024

Quick update (in case someone else has this issue).

Following the suggestion from this post: https://superuser.com/questions/1406008/jupyter-kernel-dies-when-attempting-a-simple-plot-python

I just had to install nomkl: conda install nomkl

from convoca.

williamgilpin avatar williamgilpin commented on May 24, 2024

That's good to know, thank you for posting your fix here. I hope you enjoy the package---let me know if you have any other questions.

from convoca.

williamgilpin avatar williamgilpin commented on May 24, 2024

I'm re-opening this issue because I lost an hour to this bug today. Here is what I needed to do in order to get this code (and all my other tensorflow projects) functional today.

  1. Make a fresh conda environment, but don't use the latest version of python because tensorflow doesn't support it.

conda create -n nn python=3.6.9

  1. Install the following packages all together. For some reason everything breaks if nomkl is installed after the other packages

conda install nomkl numpy scipy scikit-learn numexpr tensorflow matplotlib

from convoca.

williamgilpin avatar williamgilpin commented on May 24, 2024

It looks like the latest version of TensorFlow plays nicely with everything, and so I will re-close this issue for now.

from convoca.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.