File tree Expand file tree Collapse file tree 2 files changed +47
-0
lines changed Expand file tree Collapse file tree 2 files changed +47
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ dim_atom_inputs : 10
3+ dim_template_feats : 10
4+ dim_template_model : 64
5+ atoms_per_window : 27
6+ dim_atom : 128
7+ dim_atompair_inputs : 5
8+ dim_atompair : 16
9+ dim_input_embedder_token : 384
10+ dim_single : 384
11+ dim_pairwise : 128
12+ dim_token : 768
13+ distance_bins : 38
14+ ignore_index : -1
15+ num_dist_bins : null
16+ num_plddt_bins : 50
17+ num_pde_bins : 64
18+ num_pae_bins : 64
19+ sigma_data : 16
20+ diffusion_num_augmentations : 4
21+ loss_confidence_weight : 0.0001
22+ loss_distogram_weight : 0.01
23+ loss_diffusion_weight : 4.
Original file line number Diff line number Diff line change 1+ import os
2+ os .environ ['TYPECHECK' ] = 'True'
3+
4+ import torch
5+ import pytest
6+ from pathlib import Path
7+
8+ from alphafold3_pytorch .alphafold3 import Alphafold3
9+
10+ from alphafold3_pytorch .configs import (
11+ Alphafold3Config
12+ )
13+
14+ # constants
15+
16+ curr_dir = Path (__file__ ).parents [0 ]
17+
18+ # tests
19+
20+ def test_alphafold3_config ():
21+ af3_yaml = curr_dir / 'alphafold3.yaml'
22+
23+ alphafold3 = Alphafold3Config .create_instance_from_yaml_file (af3_yaml )
24+ assert isinstance (alphafold3 , Alphafold3 )
You can’t perform that action at this time.
0 commit comments