Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d71242 commit bb2b4eaCopy full SHA for bb2b4ea
1 file changed
advanced_source/neural_style_tutorial.py
@@ -233,6 +233,7 @@ def imshow(tensor, title=None):
233
plt.imshow(image)
234
if title is not None:
235
plt.title(title)
236
+ plt.pause(0.001) # pause a bit so that plots are updated
237
238
239
plt.figure()
0 commit comments