pythoncymetric / cymetric

A python library for studying Calabi-Yau metrics
GNU General Public License v3.0
23 stars 8 forks source link

Tensorflow/Keras version conflict #5

Open TomasSilva opened 6 months ago

TomasSilva commented 6 months ago

Dear all, I was recently following the README installation guide, and found some difficulties running the example Notebooks due to series of 'AttributeError' s coming probably from implementation's differences between Tensorflow/Keras more recent versions. I got around those issues by downgrading Tensorflow to version 2.7.0. I suggest fixing in the reqs file the version 2.7.0 (instead of using >=2.7.0) until further investigation.

ruehlef commented 6 months ago

Hi Tomas, thanks a lot. can you be more specific about the AttributeErrors you get (a stack trace would be great), and which tf version caused this for you on which system?

TomasSilva commented 6 months ago

Dear @ruehlef, I was using tensorflow-2.16.1 on an Apple M1 CPU. While running the 2.TensorFlow_models.ipynb notebook, some of the errors I was getting were: