Skip to content

Conversation

@jkhenning
Copy link
Contributor

Fixes #1039

Description:
Allow creating a TrainsSaver instance with no logger argument, assuming the user has already initialized a Trains Task using trains.Task.init(). If a Trains Task was not initialized, show a runtime error.

Check list:

  • New tests are added (if a new feature is added)
  • New doc strings: description and/or example code are in RST format
  • Documentation is updated (if required)

Copy link
Collaborator

@vfdev-5 vfdev-5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @jkhenning !

@vfdev-5
Copy link
Collaborator

vfdev-5 commented May 16, 2020

@jkhenning seems like test_trains_disk_saver_integration is broken now:
https://travis-ci.org/github/pytorch/ignite/jobs/687746212#L1952

@vfdev-5 vfdev-5 merged commit 7e3ee04 into pytorch:master May 16, 2020
@jkhenning jkhenning deleted the trains-fix-disk-saver branch May 17, 2020 07:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TrainsSaver requires TrainsLogger but doesn't use it

2 participants