Skip to content

Commit 1e21e82

Browse files
committed
fixed
1 parent d6c6571 commit 1e21e82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytorchTUT/302_classification.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
# torch can only train on Variable, so convert them to Variable
2626
x, y = Variable(x), Variable(y)
2727

28-
# plt.scatter(x.data.numpy(), y.data.numpy())
28+
# plt.scatter(x.data.numpy()[:, 0], x.data.numpy()[:, 1], c=y.data.numpy(), s=100, lw=0, cmap='RdYlGn')
2929
# plt.show()
3030

3131

0 commit comments

Comments
 (0)