You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here, pytorch_train.py contains all code needed to train the model. However, I am using quite a few custom data augmentation classes, a custom dataset class, training loop, and so on. Is there a possibility to split the file up in multiple modules, and load them in the estimator? If I do this without mentioning in the estimator, I get an error that the modules cannot be found.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I want to train a PyTorch model. To my understanding, you have to use the following script to train an estimator:
Here,
pytorch_train.py
contains all code needed to train the model. However, I am using quite a few custom data augmentation classes, a custom dataset class, training loop, and so on. Is there a possibility to split the file up in multiple modules, and load them in the estimator? If I do this without mentioning in the estimator, I get an error that the modules cannot be found.Beta Was this translation helpful? Give feedback.
All reactions