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

Control number of iterations / time in loom.tasks.infer? #1

Closed
fsaad opened this issue Oct 12, 2015 · 1 comment
Closed

Control number of iterations / time in loom.tasks.infer? #1

fsaad opened this issue Oct 12, 2015 · 1 comment

Comments

@fsaad
Copy link

fsaad commented Oct 12, 2015

Hello -- when running loom.tasks.infer(NAME, sample_count=sample_count) is it possible to specify the number of iterations / time to run inference? Looking at the DEFAULTS JSON in config.py, I cannot find an appropriate parameter. Thank you.

@fritzo
Copy link
Member

fritzo commented Oct 13, 2015

Hi @fsaad, The parameter to control inference time is config['schedule']['extra_passes'] which defaults to 500. See https://github.com/posterior/loom/blob/master/loom/config.py#L39 This parameter ranges from 0 for single-pass streaming inference, to any large number. You can probably get good results with just 50.

@fritzo fritzo closed this as completed Oct 25, 2015
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

No branches or pull requests

2 participants