You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dear authors, thanks for sharing the code for this wonderful work!
I am currently trying to run the naive gflownet training code in molecular docking setting by running python gflownet.py
under the mols directory. I have unzipped the datasets and have all requirements installed. And I have successfully run the model in the toy grid environment.
However, I got this error when I run in the mols environment:
Exception while sampling:
tensors used as indices must be long, byte or bool tensors
And when I further look up, it seems like the problem occurs around the line 70 in model_block.py. I tried to print out the stem_block_batch_idx but it doesn't seems like could be transfered to long type directly, which is required by an index:
Hi Dong, my problem was the version of PyG. The author provided the following packages slightly different but works:
torch 1.8.0
torch-cluster 1.5.9
torch-geometric 1.6.3
torch-scatter 2.0.6
torch-sparse 0.6.9
torch-spline-conv 1.2.1
Dear authors, thanks for sharing the code for this wonderful work!
I am currently trying to run the naive gflownet training code in molecular docking setting by running
python gflownet.py
under the mols directory. I have unzipped the datasets and have all requirements installed. And I have successfully run the model in the toy grid environment.
However, I got this error when I run in the mols environment:
And when I further look up, it seems like the problem occurs around the line 70 in model_block.py. I tried to print out the
stem_block_batch_idx
but it doesn't seems like could be transfered to long type directly, which is required by an index:I wonder if I am running the code in the correct way. Is this index correct and if so, do you know what's happening?
The text was updated successfully, but these errors were encountered: