GFNOrg / gflownet

Generative Flow Networks
MIT License
603 stars 76 forks source link

help with running gflownet.py #13

Closed nimbus2003 closed 7 months ago

nimbus2003 commented 1 year ago

I've just started with gflownets and wanted to run the code using the default parameter values, however I keep getting exception while sampling, and ultimately, an attribute error with torch_geometric. Where could I be going wrong?

bengioe commented 1 year ago

Hi @nimbus2003. In some version of torch_geometric the __slice__ attribute was changed to _slice_dict. This has been fixed in the subtb branch. Alternatively, make sure that the torch_geometric (and related packages) version that you install matches that of the requirements.txt file.