torchgfn icon indicating copy to clipboard operation
torchgfn copied to clipboard

Add conditional LogZ calculation

Open josephdviviano opened this issue 1 year ago • 1 comments

When using a conditional gflownet, we need the LogZ estimate (in algorithms such as TB) to be conditional, i.e., predicted from the state.

This means the logz parameter must not be constrained to be a single parameter.

Also, for conditional generation, sampling should accept an instance and/or iterator optionally, to condition on.

josephdviviano avatar Dec 07 '23 21:12 josephdviviano

Addressed in https://github.com/GFNOrg/torchgfn/pull/188

josephdviviano avatar Sep 25 '24 15:09 josephdviviano