Coder Social home page Coder Social logo

Comments (5)

henrysky avatar henrysky commented on May 26, 2024

Can you try to delete the folder ~/.astroNN.

astroNN version on pip is old and does not support Galaxy10 DECals. So you are right to use the latest commit.

from astronn.

fshmcallister avatar fshmcallister commented on May 26, 2024

Hi Henry! Thanks for the response.

Yep, cleared it, and redid the git clone in the CoLab and got this error:

ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-25-f237cb2ade41> in <module>()
      1 # Import statements
      2 
----> 3 from astroNN.datasets import load_galaxy10
      4 from tensorflow.keras import utils
      5 

ModuleNotFoundError: No module named 'astroNN.datasets'

---------------------------------------------------------------

I'm not sure why this is the case, since doing some jumping around I can find the datasets folder manually.
I must admit though I'm not familiar with creating python packages, so I'm a bit lost as to why.

I have also tried running setup.py install and still get the same error.

Thank you again for your help!

from astronn.

henrysky avatar henrysky commented on May 26, 2024

Did you run your ipython or script inside astroNN folder? You cannot run script or ipython inside astroNN folder.

Can you even just do import astroNN, if error raised then you should pip uninstall astroNN and python setup.py develop again

from astronn.

fshmcallister avatar fshmcallister commented on May 26, 2024

Hi Henry!

We did those, and it still didn't work. To get it to work in CoLab (at least for us) we did the following in a cell:

!pip install tensorflow==2.5.0 -q
!pip install tensorflow_probability -q
!pip install git+https://github.com/henrysky/astroNN.git 

from astronn.

henrysky avatar henrysky commented on May 26, 2024

Thanks! I have updated the docs to reflect this 374e7c2

from astronn.

Related Issues (15)

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.