High Loss while Training #10706
Unanswered
Boraly
asked this question in
code help: CV
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I've only been using Lightning for a short time and I'm testing a bit. Currently I have the problem that my loss value is very high during validation. It always starts between 1000-200. And I don't know if it's because of my code or something else. Could it be that the loss is added over all steps or something similar?
Also when training I have a loss of 10, although the Accuracy is at 0.9.
Here is my LightningModule class. I use the pretrained models from Glasses for training.
`class ClassifikationTask(pl.LightningModule):
def init(self, model_name, num_classes=4, batch_size=64, lr_rate=0.1, pretrained=True, augment="Full"):
Beta Was this translation helpful? Give feedback.
All reactions