-
I'm getting this although I set
Is there anything that I'm missing Thanks |
Beta Was this translation helpful? Give feedback.
Answered by
titu1994
Sep 21, 2023
Replies: 1 comment
-
You need to call model.set_trainer() before calling the data loader setup methods. Without knowing the training env (number of GPUs, nodes) it is not possible to pre calculate the number of training batches across the environment. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
mehadi92
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You need to call model.set_trainer() before calling the data loader setup methods. Without knowing the training env (number of GPUs, nodes) it is not possible to pre calculate the number of training batches across the environment.