Open hugocool opened 4 years ago
FIX: Go to core.py file inside ttf folder. In the in the init function change optimizer to tf.keras.optimizers.Adam(....). Why? Read the following: https://stackoverflow.com/questions/55682718/module-tensorflow-api-v2-train-has-no-attribute-gradientdescentoptimizer
I ported this to tf2, check it out here: https://github.com/jamborta/tffm2
pip install tensorflow==2.0 import numpy as np import tensorflow as tf
from tffm import TFFMClassifier
gives error:
AttributeError Traceback (most recent call last)