mirror of
https://github.com/evolutionaryscale/esm.git
synced 2026-06-04 17:14:23 +08:00
Fix examples/raw_forward.py
This commit is contained in:
@@ -26,7 +26,7 @@ def inverse_folding_example():
|
||||
encoder = ESM3_structure_encoder_v0("cuda")
|
||||
model = ESM3_sm_open_v0("cuda")
|
||||
|
||||
chain = ProteinChain.from_pdb("esm/data/1utn.pdb")
|
||||
chain = ProteinChain.from_rcsb("1utn", "A")
|
||||
coords, plddt, residue_index = chain.to_structure_encoder_inputs()
|
||||
coords = coords.cuda()
|
||||
plddt = plddt.cuda()
|
||||
|
||||
Reference in New Issue
Block a user