Skip to content

Commit

Permalink
add comment line for running FM instead of ICFM in `conditional_mnist…
Browse files Browse the repository at this point in the history
….ipynb`
  • Loading branch information
ImahnShekhzadeh committed Jan 11, 2024
1 parent 3f9d813 commit ef9fb89
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/images/conditional_mnist.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
" dim=(1, 28, 28), num_channels=32, num_res_blocks=1, num_classes=10, class_cond=True\n",
").to(device)\n",
"optimizer = torch.optim.Adam(model.parameters())\n",
"# FM = TargetConditionalFlowMatcher(sigma=sigma)\n",
"FM = ConditionalFlowMatcher(sigma=sigma)\n",
"node = NeuralODE(model, solver=\"dopri5\", sensitivity=\"adjoint\", atol=1e-4, rtol=1e-4)"
]
Expand Down

0 comments on commit ef9fb89

Please sign in to comment.