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
I'm training a simple MLP model using DJL v0.18.0 on CPU. The model is trained successfully but the training seems to be rather slow taking around 7 minutes. My model is the following:
Note that I'm only counting the EasyTrain.fit method and nothing else. Are there any anti-patterns in my code that is making it slow? Is there anything else I can do to speed it up without changing the model architecture and hyperparameters?
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
-
Greetings!
I'm training a simple MLP model using DJL v0.18.0 on CPU. The model is trained successfully but the training seems to be rather slow taking around 7 minutes. My model is the following:
and the code for the training is the following:
Some additional info about the training data:
Note that I'm only counting the
EasyTrain.fit
method and nothing else. Are there any anti-patterns in my code that is making it slow? Is there anything else I can do to speed it up without changing the model architecture and hyperparameters?Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions