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

Allow user to change interval at which validation loss is checked #68

Closed
njbernstein opened this issue Oct 8, 2021 · 0 comments · Fixed by #70
Closed

Allow user to change interval at which validation loss is checked #68

njbernstein opened this issue Oct 8, 2021 · 0 comments · Fixed by #70

Comments

@njbernstein
Copy link
Contributor

njbernstein commented Oct 8, 2021

Currently the scVI model is trained with the following invocation in which check_val_every_n_epoch argument is hardcoded at 5:

        vae.train(
            max_epochs=2000,
            validation_size=valid_pct,
            check_val_every_n_epoch=5,
            plan_kwargs=plan_kwargs,
            callbacks=scvi_callbacks,
        )

We'd like to allow users to specify this value using the Solo command line tool.

There are two ways this can be addressed via a command line argument or the model_json_file which specifies model parameters. In this case we will use model_json_file to allow users to change this argument for training.

The example json file can be seen here: https://github.com/calico/solo/blob/master/solo_params_example.json

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 a pull request may close this issue.

1 participant