Skip to content

Commit 1764685

Browse files
committed
added batch split to DOE arguments
1 parent abb4b5f commit 1764685

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

DeepSDFStruct/design_of_experiments.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ def create_experiment(exp_dir, specs):
126126
def run_experiment(
127127
exp_name,
128128
data_dir,
129+
batch_split=1,
129130
run_name=None,
130131
specs: ExperimentSpecifications | None = None,
131132
device="cpu",
@@ -157,7 +158,9 @@ def run_experiment(
157158

158159
mlflow.log_params(specs.flatten())
159160

160-
summary = train_deep_sdf(exp_dir, data_dir, device=device)
161+
summary = train_deep_sdf(
162+
exp_dir, data_dir, device=device, batch_split=batch_split
163+
)
161164
mlflow.set_tags(summary)
162165

163166
mlflow.log_metric("train_loss", summary["loss"])

0 commit comments

Comments
 (0)