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

AttributeError: 'function' object has no attribute 'hpm_model' #30

Closed
maxxxzdn opened this issue Jul 20, 2021 · 1 comment
Closed

AttributeError: 'function' object has no attribute 'hpm_model' #30

maxxxzdn opened this issue Jul 20, 2021 · 1 comment

Comments

@maxxxzdn
Copy link
Contributor

maxxxzdn commented Jul 20, 2021

https://github.com/ComputationalRadiationPhysics/NeuralSolvers/blob/acb61830c0f93a286b59caeacaa421291b3a76d3/PINNFramework/PINN.py#L323

https://github.com/ComputationalRadiationPhysics/NeuralSolvers/blob/acb61830c0f93a286b59caeacaa421291b3a76d3/PINNFramework/PINN.py#L461

I suppose it has to be 'self.pde_loss.hpm_model' instead of 'self.pinn_loss.hpm_model' since self.pinn_loss is a method

@StillerPatrick
Copy link
Contributor

Is fixed and can be used correctly with the next release.

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