-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Hi, I'm trying to run through the listed steps, but I can't get foldtree2/learn_lightning.py to run because of this error
I ran
python learn_lightning.py --dataset <path_to_my_dataset.h5> --model-name my_model --output-dir <my_output_dir>
then I got this error almost immediately:
)
Total epochs: 50, Burn-in epochs: 0, After burn-in epochs: 50
Epoch 1/50: 0%| | 0/32 [00:00<?, ?it/s]
Traceback (most recent call last):
File "/home/oscar/foldtree2/foldtree2/learn_lightning.py", line 258, in
edgeloss, _ = ft2.recon_loss_diag(data, edge_index, decoder, plddt=True, offdiag=True, key='edge_probs')
AttributeError: module 'foldtree2.src.foldtree2_ecddcd' has no attribute 'recon_loss_diag'
I checked the file foldtree2/src/foldtree2_ecddcd.py and confirmed that I couldn't find a function named recon_loss_diag, which seems to be the source of the error.
Thanks for your work on this tool!