Open MichaelSchroter opened 3 months ago
@qihqi can you take a look at this one?
Hi @MichaelSchroter,,
Few clarifications on the repro steps:
Cell In[1], line 5
2 from torch.optim.lr_scheduler import ReduceLROnPlateau
4 # Assuming dataset is already defined
----> 5 train_size = int(0.8 * len(dataset))
6 val_size = len(dataset) - train_size
7 train_dataset, val_dataset = random_split(dataset, [train_size, val_size])
NameError: name 'dataset' is not defined
https://www.kaggle.com/code/scratchpad/notebook8f60daaa78/edit is the link to my notebook.
I guess there is some setup step you did and I did not. Please let me know.
It does not show in dashboard,
what dashboard is it exactly? If that is something Kaggle specific I would recommend also filing issues with Kaggle as well.
❓ Questions and Help
Hi All, I Have this code
However the even though the TPU is detected as
Using device: xla:0
It does not show in dashboard, and the TPU deactivates after while due to not been used. Would anyone be able to help me with this matter please . Thanks & Best Regards AMJS