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

Discrepancy in RandomZoom default fill_mode: Documentation states constant, but code uses reflect #20794

Open
gaetanDubuc opened this issue Jan 22, 2025 · 1 comment · May be fixed by #20796
Assignees

Comments

@gaetanDubuc
Copy link

System Information:

  • Keras Version 3.8.0

Issue Description

There is a discrepancy in the default value of the fill_mode parameter for the RandomZoom layer between the documentation and the actual implementation:

Documentation: States that the default fill_mode is constant.
Code: The default value appears to be reflect.

This inconsistency can lead to unexpected behavior when using RandomZoom without explicitly specifying the fill_mode.

Steps to Reproduce

Check the Keras documentation for RandomZoom.
Check the implementation of RandomZoom in the source code

Expected Behavior

The documentation and the code should align:

If the default is constant, the code should reflect that.
If the default is reflect, the documentation should be updated.

@ARforyou
Copy link

same issue!

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

Successfully merging a pull request may close this issue.

3 participants