PyTorch Lightning Trainer Error - TypeError: 'int' object is not callable #14957
Unanswered
jokulamoko
asked this question in
Lightning Trainer API: Trainer, LightningModule, LightningDataModule
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Executing Pytorch lightning for the first time. Can't work out how to get past this error -
versions
Python 3.8.11
pytorch-lightning 1.7.7
torch 1.10.2+cu113
torch-model-archiver 0.5.3
torchmetrics 0.9.3
torchserve 0.5.3
torchsummary 1.5.1
torchvision 0.11.3+cu113
code
NB: dl_train, dl_val are torch.utils.data.DataLoader object
error
More context for seed.py
in
seed.py
resolution attempts
I've traced
rng_state_dict
, which is a dict with keys appropriate for_set_rng_states(rng_state_dict)
.python_set_rng_state
is;from random import set_state as python_set_rng_state
Any thoughts on what could be causing this?
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions