Skip to content

Commit

Permalink
Add config for thesis defense
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrienC21 committed Sep 17, 2023
1 parent 3460cc8 commit cfe5b6e
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 7 deletions.
16 changes: 9 additions & 7 deletions ccsd/diffusion.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,15 @@ def __init__(
self.folder = folder
self.comment = comment
self.seed = seed
self.args = {
"type": type,
"config": config,
"folder": folder,
"comment": comment,
"seed": seed,
}
self.args = EasyDict(
{
"type": type,
"config": config,
"folder": folder,
"comment": comment,
"seed": seed,
}
)

# Objects saved during the experiment
self.cfg = None # config dictionary
Expand Down
36 changes: 36 additions & 0 deletions config/sample_qm9_CC demonstration.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Description: Configuration file to sample from the QM9 dataset with combinatorial complexes using CCSD
# Used for the demonstration of the code during the thesis' defense

is_cc: True

data:
data: QM9
dir: './data'
max_node_num: 9
min_node_val: 6
max_node_val: 9
node_label: symbol
min_edge_val: 1
max_edge_val: 3
edge_label: bond_type
d_min: 3
d_max: 9

ckpt: ccsd_qm9_CC

sampler:
predictor: Reverse
corrector: Langevin
snr: 0.2
scale_eps: 0.7
n_steps: 1

sample:
# divide_batch: 4 # optional, only if RAM issue occurs
n_samples: 16 # param only for mol datasets
cc_nb_eval: 1000 # param only for cc datasets
use_ema: False
noise_removal: True
probability_flow: False
eps: 1.0e-4
seed: 42

0 comments on commit cfe5b6e

Please sign in to comment.