Skip to content

Conversation

@helinwang
Copy link
Contributor

@helinwang helinwang commented Aug 22, 2017

Fixes: #3625

# error
return
trainer_id = os.environ.get(trainer_key)
etcd_key = "ETCD_IP"
Copy link
Contributor

Choose a reason for hiding this comment

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

Curious where to set ETCD_IP env?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

Cool, I see.

# do not need to save
return
elif r < 0:
# error
Copy link
Contributor

Choose a reason for hiding this comment

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

Log or print to stderr?



def save_model(parameters, path):
def save_model(parameters, folder, name="model.tar"):
Copy link
Contributor

Choose a reason for hiding this comment

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

Add doc string?

@helinwang
Copy link
Contributor Author

This PR is out-of-date, closing.

@helinwang helinwang closed this Jan 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants