Skip to content

Commit 91727d2

Browse files
committed
init_code
1 parent 353d892 commit 91727d2

29 files changed

+3623
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ This is the code for MCD: a Multi-Conditional Diffusion Model for inverse small
1414
## Requirements
1515
All dependencies are specified in the `requirements.txt` file.
1616

17-
This code was developed and tested with Python 3.9.16, PyTorch 2.0.0, and PyG 2.3.0, pytorch-lightning 2.0.1.
17+
This code was developed and tested with Python 3.9.16, PyTorch 2.0.0, and PyG 2.3.0, Pytorch-lightning 2.0.1.
1818

1919
For molecular generation evaluation, we should first install rdkit:
2020

configs/__init__.py

Whitespace-only changes.

configs/config.yaml

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
general:
2+
name: 'MCD'
3+
wandb: 'disabled'
4+
gpus: 1
5+
resume: null
6+
test_only: null
7+
sample_every_val: 2500
8+
samples_to_generate: 512
9+
samples_to_save: 3
10+
chains_to_save: 1
11+
log_every_steps: 50
12+
number_chain_steps: 8
13+
final_model_samples_to_generate: 10000
14+
final_model_samples_to_save: 20
15+
final_model_chains_to_save: 1
16+
enable_progress_bar: False
17+
save_model: False
18+
model:
19+
type: 'discrete'
20+
transition: 'marginal'
21+
model: 'MCD'
22+
diffusion_steps: 500
23+
diffusion_noise_schedule: 'cosine'
24+
guide_scale: 2
25+
hidden_size: 1152
26+
depth: 6
27+
num_heads: 16
28+
mlp_ratio: 4
29+
drop_condition: 0.01
30+
lambda_train: [1, 10] # node and edge training weight
31+
ensure_connected: True
32+
train:
33+
n_epochs: 10000
34+
batch_size: 1200
35+
lr: 0.0002
36+
clip_grad: null
37+
num_workers: 0
38+
weight_decay: 0
39+
seed: 0
40+
val_check_interval: null
41+
check_val_every_n_epoch: 1
42+
dataset:
43+
datadir: 'data/'
44+
task_name: null
45+
guidance_target: null
46+
pin_memory: False

mcd/__init__.py

Whitespace-only changes.

mcd/analysis/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)