Skip to content

Debugging update. #356

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Nov 21, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Debugging update.
  • Loading branch information
brianjo committed Nov 13, 2018
commit e06bad67c79999fd7809df44bf785a37d206bda5
18 changes: 11 additions & 7 deletions intermediate_source/spatial_transformer_tutorial.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,13 +242,17 @@ def visualize_stn():
axarr[1].imshow(out_grid)
axarr[1].set_title('Transformed Images')


for epoch in range(1, 20 + 1):
train(epoch)
test()
# This sample is temporarily disabled on pytorch.org/tutorials
# as we're debugging a build issue. It should continue to work
# if you build this locally. (Uncomment the code below.)
# We'll get it running as soon as we're able.
#
# for epoch in range(1, 20 + 1):
# train(epoch)
# test()

# Visualize the STN transformation on some input batch
visualize_stn()
# visualize_stn()

plt.ioff()
plt.show()
# plt.ioff()
# plt.show()