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

[Feature] cellfinder training save iterations by default and reduce epoch number #97

Closed
stephenlenzi opened this issue May 1, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request HIGH PRIORITY

Comments

@stephenlenzi
Copy link
Member

stephenlenzi commented May 1, 2020

Is your feature request related to a problem? Please describe.

I sometimes accidentally run cellfinder without saving intermediate stages and it takes a long time without saving outputs, means I have to cancel and restart.

Describe the solution you'd like

I think it would be useful to change the default behaviour of cellfinder train to a lower number of epochs and/or to save intermediate models by default

@stephenlenzi stephenlenzi added the enhancement New feature or request label May 1, 2020
@adamltyson
Copy link
Member

The default behavior is now to save checkpoints after each epoch (cf54820). Use --no-save-checkpoints to suppress this behavior. Models can be very big, and if you don't have much training data, they can be generated quickly.

I'm leaving the default number of epochs as 100. It's hard to pick a number because a single epoch can take 15 seconds or 12 hours, depending on the data. At least with a high number you can cancel.

You can also use --save-progress to save training progress to a .csv file (output_directory/training.csv).

willGraham01 pushed a commit that referenced this issue Sep 1, 2023
Add connected component labelling unit tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request HIGH PRIORITY
Projects
None yet
Development

No branches or pull requests

2 participants