some useful python code for deep learning,segmentation,data preprocessing and so on.
ssh for img show
# output the DISPLAY ENVS
echo $DISPLAY
# mostly like this:
# >> localhost:10.0
# set the DISPLAY
#export DISPLAY=:0.0
export DISPLAY=localhost:10.0
# to validate
xclock