Comments (6)
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.
Converting all pkl to numpy does seem like a good idea (dpiras/cosmopower-jax#5)
from soliket.
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.
Thanks! (btw, Anaconda's default download is now python 12)
from soliket.
Which tensorflow version are you running with?
Currently, cosmopower requires:
tensorflow<2.14
tensorflow_probability<0.22
from soliket.
see also: alessiospuriomancini/cosmopower#22
from soliket.
Related Issues (20)
- Review dependency versions
- Set up Compatability workflow
- Installation instructions for nersc (perlmutter)
- Fix compatability with pyccl
- Investigate importance of cross-covariance for Cluster likelihood HOT 1
- lrange compatibility in mflike and theoryforge HOT 2
- Compatability failing
- Add nonlinear galaxy bias models
- Add Windows Compatability
- Add Ferrara Halo model code as a HaloModel Theory
- Remove dependence of pkg_resources (deprecation) HOT 1
- Fix errors HOT 1
- Move parameter declarations from yaml to within class definitions HOT 1
- Check input ell range for foreground and cmb in soliket/mflike
- Calibration keys in theoryforge_MFLike HOT 6
- Readme is rendering badly
- MFLike HOT 8
- Duplicate doc
- Modernization HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from soliket.