Skip to content

Commit

Permalink
Add <echo $DISPLAY>
Browse files Browse the repository at this point in the history
  • Loading branch information
yijianzeng committed Jan 22, 2024
1 parent 2cc6c44 commit d76c700
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions docs/notebooks/run_model_in_notebook.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -120,22 +120,6 @@
"print(f'Model output dir {model.config[\"OutputPath\"]}')"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"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."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"%env DISPLAY=:1.0"
]
},
{
"cell_type": "code",
"execution_count": 21,
Expand Down Expand Up @@ -241,6 +225,22 @@
"print(f'Model output dir {model.config[\"OutputPath\"]}')"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"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."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"%env DISPLAY=:1.0"
]
},
{
"cell_type": "code",
"execution_count": 7,
Expand Down

0 comments on commit d76c700

Please sign in to comment.