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
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 '
Traceback (most recent call last):
File "D:\Looking-to-Listen-at-the-Cocktail-Party-master\train.py", line 138, in <module>
initial_epoch=initial_epoch
File "D:\Anaconda3\envs\cocktail\lib\site-packages\tensorflow\python\keras\engine\training.py", line 1064, in fit
steps_per_execution=self._steps_per_execution)
File "D:\Anaconda3\envs\cocktail\lib\site-packages\tensorflow\python\keras\engine\data_adapter.py", line 1099, in __init__
adapter_cls = select_data_adapter(x, y)
File "D:\Anaconda3\envs\cocktail\lib\site-packages\tensorflow\python\keras\engine\data_adapter.py", line 964, in select_data_adapter
_type_name(x), _type_name(y)))
ValueError: Failed to find data adapter that can handle input <class 'data_load.AVGenerator>, <class 'NoneType>'
I change AV_model.fit_generator() to AV_model.fit() and UserWarning disappears but the error is the same.
If I change tensorflow from 2.4.0 back to 2.0.3, codes can be run successfully. In this case, how to use tensorflow 2.4.0?
The text was updated successfully, but these errors were encountered:
Thank you for your work. I tried to run the project in
tensorflow 2.4.0
as shown in therequirements.txt
but the traceback shows when fitting:I change
AV_model.fit_generator()
toAV_model.fit()
and UserWarning disappears but the error is the same.If I change tensorflow from
2.4.0
back to2.0.3
, codes can be run successfully. In this case, how to use tensorflow 2.4.0?The text was updated successfully, but these errors were encountered: