Updates to tutorial and run post codacy changes

This commit is contained in:
Matteo Bertocchi
2025-03-10 17:18:48 +01:00
committed by Nicola Demo
parent 9e55746546
commit b38b0894b1
27 changed files with 952 additions and 393 deletions

View File

@@ -16,7 +16,7 @@
# Let's start with the necessary imports.
# It's important to note the minimum PINA version to run this tutorial is the `0.1`.
# In[ ]:
# In[1]:
## routine needed to run the notebook on Google Colab
@@ -172,7 +172,10 @@ trainer = Trainer(
max_epochs=1000,
batch_size=100,
log_every_n_steps=5,
accelerator='cpu')
accelerator='cpu',
train_size=1.0,
val_size=0.0,
test_size=0.0)
trainer.train()