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
as soon as i try to fit the model i got the following Error:
File "/Users/abc/Python/mltu/Tutorials/02_captcha_to_text/train_model_with_new_data.py", line 121, in
model.fit(
File "/Users/abc/Python/myenv/lib/python3.12/site-packages/keras/src/utils/traceback_utils.py", line 122, in error_handler
raise e.with_traceback(filtered_tb) from None
File "/Users/abc/Python/myenv/lib/python3.12/site-packages/keras/src/utils/traceback_utils.py", line 117, in error_handler
return fn(*args, **kwargs)
^^^^^^^^^^^^^
TypeError: TensorFlowTrainer.fit() got an unexpected keyword argument 'workers'
Activity
anilkumarshrestha commentedon Nov 26, 2024
Removing
workers=configs.train_workersworked for me since tf (2.18) model.fit() does not support worker param.Ref: https://www.tensorflow.org/api_docs/python/tf/keras/Model#fit