Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'Functional' object has no attribute 'fit_generator' #19225

Closed
Syize opened this issue Feb 25, 2024 · 1 comment
Closed

'Functional' object has no attribute 'fit_generator' #19225

Syize opened this issue Feb 25, 2024 · 1 comment
Assignees

Comments

@Syize
Copy link

Syize commented Feb 25, 2024

Hi,

After I upgrade keras to keras 3, I notice that the attribute "fit_generator" has been removed (I can't find it in any file in keras3 with grep) which doesn't been mentioned in release announcement or this issue. I'm wondering if it will be brought back in future or not.

Thanks.

@Syize
Copy link
Author

Syize commented Feb 25, 2024

So after I read through keras 3 API documentation, I found a new class keras.utils.PyDataset replaced the old class keras.utils.Sequence, and it can be used in attribute fit directly.

@Syize Syize closed this as completed Feb 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants