We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug The example run_stokes.py attempts to save out history on ln 43:
ln 43
for i, losses in enumerate(pinn.history):
The PINN class has no attribute history, this line results in an AttributeError.
history
AttributeError
To Reproduce python examples/run_stokes.py -s 1
python examples/run_stokes.py -s 1
Expected behavior A file to be saved with loss history for run.
Output
Traceback (most recent call last): File "/Users/eliprater/Documents/Projects/PINA/examples/run_stokes.py", line 43, in <module> for i, losses in enumerate(pinn.history): AttributeError: 'PINN' object has no attribute 'history'
Additional context Was it was meant for this line to reference the PINN attribute history_loss?
history_loss
In that case the line could be changed to:
for i, losses in pinn.history_loss.items():
The text was updated successfully, but these errors were encountered:
Commit 936f5e1 changed the attribute history, which was a list, to history_loss, which is a dict.
list
dict
Sorry, something went wrong.
No branches or pull requests
Describe the bug
The example run_stokes.py attempts to save out history on
ln 43
:for i, losses in enumerate(pinn.history):
The PINN class has no attribute
history
, this line results in anAttributeError
.To Reproduce
python examples/run_stokes.py -s 1
Expected behavior
A file to be saved with loss history for run.
Output
Additional context
Was it was meant for this line to reference the PINN attribute
history_loss
?In that case the line could be changed to:
for i, losses in pinn.history_loss.items():
The text was updated successfully, but these errors were encountered: