Skip to content

Commit 46c3c46

Browse files
committed
Merge branch 'dev' of https://github.com/stefanradev93/BayesFlow into dev
2 parents d9442f7 + b9b5dca commit 46c3c46

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
pull_request:
66
push:
77
branches:
8-
- master
8+
- main
99
- dev
1010
- streamlined-backend
1111

bayesflow/workflows/basic_workflow.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ def __init__(
3333
checkpoint_name: str = "model",
3434
save_weights_only: bool = False,
3535
save_best_only: bool = False,
36-
inference_variables: Sequence[str] | str = "theta",
37-
inference_conditions: Sequence[str] | str = "x",
36+
inference_variables: Sequence[str] | str = None,
37+
inference_conditions: Sequence[str] | str = None,
3838
summary_variables: Sequence[str] | str = None,
3939
standardize: Sequence[str] | str = "inference_variables",
4040
**kwargs,
@@ -72,10 +72,10 @@ def __init__(
7272
as some losses (e.g. flow matching) do not reliably reflect model performance, and outliers in the
7373
validation data can cause unwanted effects.
7474
inference_variables : Sequence[str] or str, optional
75-
Variables for inference as a sequence of strings or a single string (default is "theta").
75+
Variables for inference as a sequence of strings or a single string (default is None).
7676
Important for automating diagnostics!
7777
inference_conditions : Sequence[str] or str, optional
78-
Variables used as conditions for inference (default is "x").
78+
Variables used as conditions for inference (default is None).
7979
summary_variables : Sequence[str] or str, optional
8080
Variables for summarizing data, if any (default is None).
8181
standardize : Sequence[str] or str, optional

0 commit comments

Comments
 (0)