You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am encountering errors when running the Language model notbook
/usr/local/lib/python3.7/dist-packages/tensorflow/python/keras/engine/training.py:1844: UserWarning: Model.fit_generator is deprecated and will be removed in a future version. Please use Model.fit, which supports generators.
warnings.warn('Model.fit_generator is deprecated and '
I am encountering errors when running the Language model notbook
/usr/local/lib/python3.7/dist-packages/tensorflow/python/keras/engine/training.py:1844: UserWarning:
Model.fit_generator
is deprecated and will be removed in a future version. Please useModel.fit
, which supports generators.warnings.warn('
Model.fit_generator
is deprecated and 'ValueError Traceback (most recent call last)
in ()
1 metrics = model.fit_generator(generator_step["valid"]["g"], generator_step["valid"]["s"],
2 validation_data=generator_step["test"]["g"], validation_steps=generator_step["test"]["s"],
----> 3 epochs=10, verbose=0, callbacks=[ReportCallback()])
10 frames
/usr/local/lib/python3.7/dist-packages/tensorflow/python/framework/func_graph.py in wrapper(*args, **kwargs)
975 except Exception as e: # pylint:disable=broad-except
976 if hasattr(e, "ag_error_metadata"):
--> 977 raise e.ag_error_metadata.to_exception(e)
978 else:
979 raise
ValueError: in user code:
The text was updated successfully, but these errors were encountered: