Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Suggestion]Add change the snapshot period item #15

Closed
AltenLi opened this issue Mar 21, 2015 · 6 comments
Closed

[Suggestion]Add change the snapshot period item #15

AltenLi opened this issue Mar 21, 2015 · 6 comments

Comments

@AltenLi
Copy link
Contributor

AltenLi commented Mar 21, 2015

I'd like to add the textbox of snapshot_epoch for changing the snapshot period.
Or my disk is going to explode...
Would you tell me which file should I change?
(I've found the digits/model/forms.py to add the box)

@AltenLi
Copy link
Contributor Author

AltenLi commented Mar 21, 2015

i've also changed "solver.snapshot = self.snap_epochs" in "digits/model/tasks/caffe_train.py"

@AltenLi
Copy link
Contributor Author

AltenLi commented Mar 21, 2015

Also "self.snap_epochs = snap_epochs" in "digits/model/tasks/caffe_train.py" "init"

@lukeyeager
Copy link
Member

Hi @AltenLi. Yes, that's a feature that I was planning on adding. It looks like you've found all the right changes to make. If you've got it working, please send a pull request and I'll get it added into the master branch!

@thatguymike
Copy link

I wonder if while we are at it, we should add an option to save the last N snapshots as well, with the default being all.

@AltenLi
Copy link
Contributor Author

AltenLi commented Mar 24, 2015

It seems worked, but I wonder...is the unit of snapshot should be epoch or
iteration

On Tue, Mar 24, 2015 at 3:38 AM, Luke Yeager [email protected]
wrote:

Hi @AltenLi https://github.com/AltenLi. Yes, that's a feature that I
was planning on adding. It looks like you've found all the right changes to
make. If you've got it working, please send a pull request and I'll get it
added into the master branch!


Reply to this email directly or view it on GitHub
#15 (comment).

Best Regards,

李千
Qian Li
HUST
Mobile:+86-18511584115
Email: [email protected]

@AltenLi
Copy link
Contributor Author

AltenLi commented Mar 24, 2015

@lukeyeager I've updated the func for snapshot on my fork

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants