Skip to content

Commit ad01171

Browse files
committed
remove backend print
1 parent 77ddc5a commit ad01171

File tree

1 file changed

+10
-25
lines changed

1 file changed

+10
-25
lines changed

examples/SIR_Posterior_Estimation.ipynb

Lines changed: 10 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -11,40 +11,24 @@
1111
]
1212
},
1313
{
14-
"cell_type": "code",
15-
"execution_count": 1,
16-
"id": "0383ba66",
1714
"metadata": {},
15+
"cell_type": "code",
1816
"outputs": [],
17+
"execution_count": null,
1918
"source": [
2019
"import os\n",
2120
"# Set to your favorite backend\n",
2221
"if \"KERAS_BACKEND\" not in os.environ:\n",
2322
" # set this to \"torch\", \"tensorflow\", or \"jax\"\n",
24-
" os.environ[\"KERAS_BACKEND\"] = \"tensorflow\"\n",
25-
"else:\n",
26-
" print(f\"Using '{os.environ['KERAS_BACKEND']}' backend\")"
27-
]
23+
" os.environ[\"KERAS_BACKEND\"] = \"tensorflow\""
24+
],
25+
"id": "5fb5c0f856b6bcf4"
2826
},
2927
{
28+
"metadata": {},
3029
"cell_type": "code",
31-
"execution_count": 2,
32-
"id": "684f2d7e19d40e09",
33-
"metadata": {
34-
"ExecuteTime": {
35-
"end_time": "2025-04-11T19:54:02.700953Z",
36-
"start_time": "2025-04-11T19:53:33.926075Z"
37-
}
38-
},
39-
"outputs": [
40-
{
41-
"name": "stderr",
42-
"output_type": "stream",
43-
"text": [
44-
"WARNING:2025-04-21 12:41:48,425:jax._src.xla_bridge:967: An NVIDIA GPU may be present on this machine, but a CUDA-enabled jaxlib is not installed. Falling back to cpu.\n"
45-
]
46-
}
47-
],
30+
"outputs": [],
31+
"execution_count": null,
4832
"source": [
4933
"import datetime\n",
5034
"\n",
@@ -55,7 +39,8 @@
5539
"import keras\n",
5640
"\n",
5741
"import bayesflow as bf"
58-
]
42+
],
43+
"id": "4a9355783f1314a"
5944
},
6045
{
6146
"cell_type": "markdown",

0 commit comments

Comments
 (0)