Skip to content

Commit

Permalink
Merge pull request huggingface#9 from gyes00205/master
Browse files Browse the repository at this point in the history
Update 16_tensorboard.py
  • Loading branch information
patrickloeber authored Jan 5, 2023
2 parents e6dd99c + 43697b6 commit 75d768b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 16_tensorboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def forward(self, x):
class_probs_batch = [F.softmax(output, dim=0) for output in outputs]

class_preds.append(class_probs_batch)
class_labels.append(predicted)
class_labels.append(labels)

# 10000, 10, and 10000, 1
# stack concatenates tensors along a new dimension
Expand Down

0 comments on commit 75d768b

Please sign in to comment.