我Model.fit_generator在 tensorflow 中使用时收到了这个弃用警告:
WARNING:tensorflow: Model.fit_generator (from tensorflow.python.keras.engine.training) is deprecated and will be removed in a future version.
Instructions for updating:
Please use Model.fit, which supports generators.
Run Code Online (Sandbox Code Playgroud)
我该如何使用Model.fit而不是Model.fit_generator?