Comments (1)
Hi @lucasgautheron, sorry for the late reply. I cannot reproduce the issue in a fresh environment. Did you follow the install instructions correctly? What version of Python are you using?
It also looks like the warnings in your output are hinting at another (possibly unrelated) issue:
Failed to import TF-Keras.
Some dependencies failed to load.
No module named 'tf_keras'
Does running pip install tf-keras=2.16
fix the issue? If not, can you please set up a fresh environment using
conda create bf-test python=3.11
conda activate bf-test
and then install the following dependency versions:
pip install bayesflow==1.1.6 tensorflow==2.15.1 tensorflow-probability==0.23.0
If all else fails, here is an environment-lock.yaml
file that runs for me without problems:
name: bf-test
channels:
- conda-forge
dependencies:
- _libgcc_mutex=0.1=conda_forge
- _openmp_mutex=4.5=2_gnu
- bzip2=1.0.8=h4bc722e_7
- ca-certificates=2024.7.4=hbcca054_0
- ld_impl_linux-64=2.40=hf3520f5_7
- libexpat=2.6.2=h59595ed_0
- libffi=3.4.2=h7f98852_5
- libgcc-ng=14.1.0=h77fa898_0
- libgomp=14.1.0=h77fa898_0
- libnsl=2.0.1=hd590300_0
- libsqlite=3.46.0=hde9e2c9_0
- libuuid=2.38.1=h0b41bf4_0
- libxcrypt=4.4.36=hd590300_1
- libzlib=1.3.1=h4ab18f5_1
- ncurses=6.5=h59595ed_0
- openssl=3.3.1=h4bc722e_2
- pip=24.2=pyhd8ed1ab_0
- python=3.11.9=hb806964_0_cpython
- readline=8.2=h8228510_1
- setuptools=72.1.0=pyhd8ed1ab_0
- tk=8.6.13=noxft_h4845f30_101
- wheel=0.44.0=pyhd8ed1ab_0
- xz=5.2.6=h166bdaf_0
- pip:
- absl-py==2.1.0
- aesara==2.9.3
- astunparse==1.6.3
- bayesflow==1.1.6
- cachetools==5.4.0
- certifi==2024.7.4
- charset-normalizer==3.3.2
- cloudpickle==3.0.0
- cons==0.4.6
- contourpy==1.2.1
- cycler==0.12.1
- decorator==5.1.1
- dm-tree==0.1.8
- etuples==0.3.9
- filelock==3.15.4
- flatbuffers==24.3.25
- fonttools==4.53.1
- gast==0.6.0
- google-auth==2.33.0
- google-auth-oauthlib==1.2.1
- google-pasta==0.2.0
- grpcio==1.65.4
- h5py==3.11.0
- idna==3.7
- joblib==1.4.2
- keras==2.15.0
- kiwisolver==1.4.5
- libclang==18.1.1
- logical-unification==0.4.6
- markdown==3.6
- markupsafe==2.1.5
- matplotlib==3.9.1.post1
- minikanren==1.0.3
- ml-dtypes==0.3.2
- multipledispatch==1.0.0
- numpy==1.26.4
- oauthlib==3.2.2
- opt-einsum==3.3.0
- packaging==24.1
- pandas==2.2.2
- pillow==10.4.0
- protobuf==4.25.4
- pyasn1==0.6.0
- pyasn1-modules==0.4.0
- pyparsing==3.1.2
- python-dateutil==2.9.0.post0
- pytz==2024.1
- requests==2.32.3
- requests-oauthlib==2.0.0
- rsa==4.9
- scikit-learn==1.5.1
- scipy==1.14.0
- seaborn==0.13.2
- six==1.16.0
- tensorboard==2.15.2
- tensorboard-data-server==0.7.2
- tensorflow==2.15.1
- tensorflow-estimator==2.15.0
- tensorflow-io-gcs-filesystem==0.37.1
- tensorflow-probability==0.23.0
- termcolor==2.4.0
- threadpoolctl==3.5.0
- toolz==0.12.1
- tqdm==4.66.5
- typing-extensions==4.12.2
- tzdata==2024.1
- urllib3==2.2.2
- werkzeug==3.0.3
- wrapt==1.14.1
from bayesflow.
Related Issues (20)
- Change Support / Acknowledgements HOT 1
- Publish as conda installable package
- Parallelize Test Workflows HOT 2
- `test_time_series_transformer` occasionally fails
- Make heavier use of `pytest.fixture`
- Diagnostic plots do not do so well with simple (one-parameter) models HOT 2
- Remove code duplication from diagnostics module HOT 1
- Add tests for model comparison
- Links in the table of contents of the example notebooks do not work
- Dependency problems HOT 1
- Backport dependency fixes to releases/master HOT 1
- pip install v1.1.5 fails on Mac (M1) HOT 1
- OOM after ~ 50 epochs HOT 10
- bayesflow breaks existing tensorflow installation HOT 5
- Affine coupling flows underperforming with current settings on streamlined-backend
- OfflineDataset should not require both batch_size and batches_per_epoch
- Loss not shown in keras output HOT 4
- streamlined-backend DeepSet
- Implement LSTMNet for time series embedding
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 bayesflow.