Skip to content

Commit 2cc6c44

Browse files
authored
Add '%env DISPLAY=:1.0'
1 parent 1a521ce commit 2cc6c44

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

docs/notebooks/run_model_in_notebook.ipynb

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,22 @@
120120
"print(f'Model output dir {model.config[\"OutputPath\"]}')"
121121
]
122122
},
123+
{
124+
"cell_type": "markdown",
125+
"metadata": {},
126+
"source": [
127+
"Perform <echo $DISPLAY> in a terminal in the Remote Desktop (of Crib Platform), and check the output (should be similar to :1.0 ). Then execute the following line accordingly."
128+
]
129+
},
130+
{
131+
"cell_type": "code",
132+
"execution_count": null,
133+
"metadata": {},
134+
"outputs": [],
135+
"source": [
136+
"%env DISPLAY=:1.0"
137+
]
138+
},
123139
{
124140
"cell_type": "code",
125141
"execution_count": 21,

0 commit comments

Comments
 (0)