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

Fix missing parameters output_scaling_factor #159

Merged

Conversation

sleepyeye
Copy link
Contributor

The PR fix missing output_scaling_factor parameter in the constructor of FNO1d, FNO2d and, FNO3d. Also it fix inconsistent parameter name output_scale_factor to output_scaling_factor in DomainPadding class.

I found the output_scaling_factor only working with FNO class.
However, it didn't work with FNO1d, FNO2d and, FNO3d since __init__ of FNO1d, FNO2d, FNO3d does not have output_scaling_factor.

Also, DomainPadding class utilizes the output_scaling_factor with different name not output_scaling_factor. Thus I renamed it to output_scaling_factor.

@sleepyeye sleepyeye changed the title Fix missing parameters and rename Fix missing parameters output_scaling_factor Jun 12, 2023
@sleepyeye
Copy link
Contributor Author

Also I set output_scaling_factor of the domain padding in FNO.

@JeanKossaifi
Copy link
Member

Great, thanks @sleepyeye!
Looks good to me, merging.

@ashiq24 for visibility as you're working on the scaling factor.

@JeanKossaifi JeanKossaifi merged commit a22dad9 into neuraloperator:main Jun 12, 2023
1 check passed
ziqi-ma pushed a commit to ziqi-ma/neuraloperator that referenced this pull request Aug 29, 2023
…ssing-parameters

Fix missing parameters output_scaling_factor
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 this pull request may close these issues.

None yet

2 participants