jstout211 / enigma_MEG

Other
9 stars 1 forks source link

Tensorflow add ons issue #30

Closed jstout211 closed 1 year ago

jstout211 commented 1 year ago

Remove model dependency on tensorflow addons (currently required because of the f1_score). Tensorflow addons is currently required to load the model. The source code support will be deprecated 2024.

Solution - compile model without f1_score metric or use f1_score metric from another source -- see below announcement. Sci-kit learn also has an f1 score metric.

planned end of life in May 2024. Please modify downstream libraries to take dependencies from other repositories in our TensorFlow community (e.g. Keras, Keras-CV, and Keras-NLP)

For more information see: https://github.com/tensorflow/addons/issues/2807
jstout211 commented 1 year ago

Attempted solution: d0c8c98d9e001799d0243a4a45497bba7fcf8b20

jstout211 commented 1 year ago

Installs on mac without TFaddons