Skip to content

Commit

Permalink
fix demo for python 2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
lanpa committed Sep 26, 2018
1 parent 8a7925b commit 391a4ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/demo_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def initHidden(self):


import pytest
print('↓↓↓↓↓ expect error here:↓↓↓↓↓')
print('expect error here:')
with pytest.raises(Exception) as e_info:
dummy_input = torch.rand(1, 1, 224, 224)
with SummaryWriter(comment='basicblock_error') as w:
Expand Down

0 comments on commit 391a4ae

Please sign in to comment.