Updates to tutorial and run post codacy changes
This commit is contained in:
committed by
Nicola Demo
parent
9e55746546
commit
b38b0894b1
7
tutorials/tutorial8/tutorial.py
vendored
7
tutorials/tutorial8/tutorial.py
vendored
@@ -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()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user