-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #56 from mila-iqia/difface_fixes
Difface fixes
- Loading branch information
Showing
5 changed files
with
89 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
# general | ||
exp_name: difface | ||
run_name: run1 | ||
max_epoch: 25 | ||
log_every_n_steps: 1 | ||
gradient_clipping: 0.1 | ||
|
||
# set to null to avoid setting a seed (can speed up GPU computation, but | ||
# results will not be reproducible) | ||
seed: 1234 | ||
|
||
# data | ||
data: | ||
batch_size: 512 | ||
num_workers: 8 | ||
max_atom: 8 | ||
|
||
# architecture | ||
spatial_dimension: 3 | ||
model: | ||
score_network: | ||
architecture: diffusion_mace | ||
number_of_atoms: 8 | ||
r_max: 5.0 | ||
num_bessel: 8 | ||
num_polynomial_cutoff: 5 | ||
max_ell: 2 | ||
interaction_cls: RealAgnosticResidualInteractionBlock | ||
interaction_cls_first: RealAgnosticInteractionBlock | ||
num_interactions: 2 | ||
hidden_irreps: 128x0e + 128x1o + 128x2e | ||
mlp_irreps: 128x0e | ||
number_of_mlp_layers: 0 | ||
avg_num_neighbors: 1 | ||
correlation: 3 | ||
gate: silu | ||
radial_MLP: [128, 128, 128] | ||
radial_type: bessel | ||
noise: | ||
total_time_steps: 100 | ||
sigma_min: 0.001 # default value | ||
sigma_max: 0.5 # default value' | ||
|
||
# optimizer and scheduler | ||
optimizer: | ||
name: adamw | ||
learning_rate: 0.001 | ||
weight_decay: 1.0e-8 | ||
|
||
scheduler: | ||
name: ReduceLROnPlateau | ||
factor: 0.1 | ||
patience: 20 | ||
|
||
# early stopping | ||
early_stopping: | ||
metric: validation_epoch_loss | ||
mode: min | ||
patience: 10 | ||
|
||
model_checkpoint: | ||
monitor: validation_epoch_loss | ||
mode: min | ||
|
||
# Sampling from the generative model | ||
diffusion_sampling: | ||
noise: | ||
total_time_steps: 100 | ||
sigma_min: 0.001 # default value | ||
sigma_max: 0.5 # default value | ||
sampling: | ||
spatial_dimension: 3 | ||
number_of_corrector_steps: 1 | ||
number_of_atoms: 8 | ||
number_of_samples: 1000 | ||
sample_every_n_epochs: 5 | ||
cell_dimensions: [5.43, 5.43, 5.43] | ||
|
||
# A callback to check the loss vs. sigma | ||
loss_monitoring: | ||
number_of_bins: 50 | ||
sample_every_n_epochs: 2 | ||
|
||
logging: | ||
- comet |