Skip to content

Commit 75d768b

Browse files
Merge pull request huggingface#9 from gyes00205/master
Update 16_tensorboard.py
2 parents e6dd99c + 43697b6 commit 75d768b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

16_tensorboard.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def forward(self, x):
138138
class_probs_batch = [F.softmax(output, dim=0) for output in outputs]
139139

140140
class_preds.append(class_probs_batch)
141-
class_labels.append(predicted)
141+
class_labels.append(labels)
142142

143143
# 10000, 10, and 10000, 1
144144
# stack concatenates tensors along a new dimension

0 commit comments

Comments
 (0)