Code Monkey home page Code Monkey logo

Comments (6)

alessiospuriomancini avatar alessiospuriomancini commented on September 11, 2024 4

This has now been fixed in commit 65fa9d6 and incorporated in the new v0.2.0 release. Note that python versions up to 3.11 are supported. python=3.12 is currently in bugfix and support for it will likely be added in alessiospuriomancini/cosmopower#28.

from soliket.

cmbant avatar cmbant commented on September 11, 2024 3

Converting all pkl to numpy does seem like a good idea (dpiras/cosmopower-jax#5)

from soliket.

cmbant avatar cmbant commented on September 11, 2024 1

I do have tensorflow 2.17. But I did do a clean install. Specifically I did

conda create -n cosmopower python=3.12 scipy matplotlib
activate cosmopower
pip install cosmopower
pip install ipykernel jupyterlab
python -m ipykernel install --user --name=cosmopower

However, running cosmopower now gives

Failed to import TF-Keras. Please note that TF-Keras is not installed by default when you install TensorFlow Probability. This is so that JAX-only users do not have to install TensorFlow or TF-Keras. To use TensorFlow Probability with TensorFlow, please install the tf-keras or tf-keras-nightly package.
This can be be done through installing the tensorflow-probability[tf] extra.

So I did
pip install tensorflow-probability[tf]
Perhaps a version-tagged version of tensorflow-probability[tf] needs to be in requirements?

from soliket.

cmbant avatar cmbant commented on September 11, 2024 1

Thanks! (btw, Anaconda's default download is now python 12)

from soliket.

borisbolliet avatar borisbolliet commented on September 11, 2024

Which tensorflow version are you running with?

Currently, cosmopower requires:
tensorflow<2.14
tensorflow_probability<0.22

from soliket.

borisbolliet avatar borisbolliet commented on September 11, 2024

see also: alessiospuriomancini/cosmopower#22

from soliket.

Related Issues (20)

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.