Skip to content

Commit

Permalink
add instructions in conditional_mnist.ipynb for running FM
Browse files Browse the repository at this point in the history
  • Loading branch information
ImahnShekhzadeh committed Jan 11, 2024
1 parent 3f9d813 commit 06702c8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/images/conditional_mnist.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@
").to(device)\n",
"optimizer = torch.optim.Adam(model.parameters())\n",
"FM = ConditionalFlowMatcher(sigma=sigma)\n",
"# users can try target FM by changing the above line by\n",
"# FM = TargetConditionalFlowMatcher(sigma=sigma)\n",
"node = NeuralODE(model, solver=\"dopri5\", sensitivity=\"adjoint\", atol=1e-4, rtol=1e-4)"
]
},
Expand Down

0 comments on commit 06702c8

Please sign in to comment.