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

shape try 2

parent 2bb506cc
No related branches found
No related tags found
No related merge requests found
......@@ -105,10 +105,10 @@ def train(model, name, seed,gradient_accumulation_steps,mixup, threshold, lambda
print("logits: ", logits)
print("logits size: ", logits.size())
print("logits shape: ", logits.getShape())
print("logits shape: ", list(logits.shape))
print("Newlabels: ", new_labels_batch)
print("labels size: ", new_labels_batch.size())
print("labels shape: ", new_labels_batch.getShape())
print("labels shape: ", list(new_labels_batch.shape))
input = torch.autograd.Variable(logits.view(-1, 2).to("cuda"))
target = torch.nn.functional.softmax(torch.autograd.Variable(new_labels_batch.view(-1).to("cuda")))
......
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