hpcaitech / FastFold

Optimizing AlphaFold Training and Inference on GPU Clusters
Apache License 2.0
557 stars 86 forks source link

Function not accessible #123

Closed georgkempf closed 1 year ago

georgkempf commented 1 year ago

Hi, I stumbled over an issue when using monomer_ptm model. The function LinearParams used here

https://github.com/hpcaitech/FastFold/blob/f55dca95b99a052ea18b685548668f60cbe54d79/fastfold/utils/import_weights.py#L566

is defined in a different scope (L144) and cannot be accessed in this place.

Shenggan commented 1 year ago

Thanks for reporting, fixed in #124