Skip to content
This repository has been archived by the owner on Jul 2, 2021. It is now read-only.

ChainerV2 calls trigger outside of snapshot object #272

Merged
merged 1 commit into from
Jun 13, 2017
Merged
Changes from all commits
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
4 changes: 2 additions & 2 deletions examples/segnet/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ def transform(in_data):
file_name='loss.png'))

trainer.extend(extensions.snapshot_object(
model.predictor, filename='model_iteration-{.updater.iteration}',
trigger=end_trigger))
model.predictor, filename='model_iteration-{.updater.iteration}'),
trigger=end_trigger)
trainer.extend(extensions.PrintReport(
['epoch', 'iteration', 'elapsed_time', 'lr',
'main/loss', 'validation/main/loss']),
Expand Down