Skip to content

Only the first of multiple identical models will train properly? #2618

Answered by gpleiss
nikvk asked this question in Q&A
Discussion options

You must be logged in to vote

When I try to iterate over multiple genes, the first model will train correctly, but every subsequent model will completely fail to learn and just remain stuck at the loss that they start out with.

My bet is because you are reusing the same variable names with pyro. Call pyro.clear_param_store() after training each model.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@nikvk
Comment options

Answer selected by nikvk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants