Skip to content
Snippets Groups Projects
Commit 5d13fc81 authored by umlauf's avatar umlauf
Browse files

push

parent dba3b025
No related branches found
No related tags found
No related merge requests found
......@@ -137,7 +137,7 @@ def train(model, name, seed,gradient_accumulation_steps,mixup, threshold, lambda
return evaluation_test, evaluation_train
#pytorch Forum, try with dim=1 for targets, changed from /logits.shape[0] zu .mean
#pytorch Forum, try with dim=1 for targets, changed from /logits.shape[0] zu .mean..
# def cross_entropy(logits, target):
# print("Cross Entropy Target: ", target)
# logprobs = torch.nn.functional.log_softmax (logits, dim = 1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment