-
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.
orion script and rewrite how layers are defined in MLP score network
- Loading branch information
1 parent
5c924af
commit 3bfc1bc
Showing
10 changed files
with
78 additions
and
38 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 was deleted.
Oops, something went wrong.
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,45 @@ | ||
# general | ||
exp_name: example_experiment | ||
run_name: run_debug_delete_me | ||
max_epoch: 2 | ||
log_every_n_steps: 1 | ||
# fast_dev_run: True | ||
# 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: 128 | ||
num_workers: 4 | ||
max_atom: 64 | ||
|
||
# architecture | ||
spatial_dimension: 3 | ||
model: | ||
score_network: | ||
n_hidden_dimensions: 'orion~choices([1, 2, 3, 4])' | ||
hidden_dimensions_size: 'orion~choices([256, 512, 1024, 2048])' | ||
noise: | ||
total_time_steps: 'orion~uniform(2, 20, discrete=True)' | ||
sigma_min: 'orion~choices([0.001, 0.005, 0.01])' | ||
sigma_max: 'orion~choices([0.1, 0.5, 0.75])' | ||
|
||
# optimizer | ||
optimizer: | ||
name: adam | ||
learning_rate: 'orion~loguniform(1e-6, 1e-3)' | ||
|
||
# early stopping | ||
early_stopping: | ||
metric: val_loss | ||
mode: min | ||
patience: 100 | ||
|
||
model_checkpoint: | ||
monitor: val_loss | ||
mode: min | ||
|
||
logging: | ||
- tensorboard | ||
- comet |
File renamed without changes.
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,16 @@ | ||
export ORION_DB_ADDRESS='orion_db.pkl' | ||
export ORION_DB_TYPE='pickleddb' | ||
|
||
CONFIG=config_diffusion.yaml | ||
DATA_DIR=../../data/si_diffusion_small | ||
PROCESSED_DATA=${DATA_DIR}/processed | ||
DATA_WORK_DIR=./tmp_work_dir/ | ||
OUTPUT=output | ||
|
||
orion -v hunt --config orion_config.yaml \ | ||
python ../../crystal_diffusion/train_diffusion.py \ | ||
--config $CONFIG \ | ||
--data $DATA_DIR \ | ||
--processed_datadir $PROCESSED_DATA \ | ||
--dataset_working_dir $DATA_WORK_DIR \ | ||
--output '{exp.working_dir}/{trial.id}/' |
This file was deleted.
Oops, something went wrong.
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