inkscape figure.svg --export-filename figure.emf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nvidia-docker run --rm -it --name yolo_deepsort -v /home/utiva/workspace:/workspace \ | |
-e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix:ro \ | |
-e QT_X11_NO_MITSHM=1 \ | |
-e NVIDIA_DRIVER_CAPABILITIES='compute,utility,display' \ | |
--privileged --device=/dev/video0:/dev/video0 --ipc=host\ | |
--device /dev/apex_0:/dev/apex_0 \ | |
-v /dev/bus/usb:/dev/bus/usb \ | |
${1:-zldrobit/yolo-deepsort} /bin/bash | |
# in supervisor: |
Run
sudo apt-get install xorgxrdp-hwe-18.04
Add
{
"data-root": "$NEW_PATH"
}
to /etc/docker/daemon.json
see https://docs.docker.com/engine/reference/commandline/dockerd/#daemon-configuration-file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# execute following 2 lines | |
sudo nvidia-xconfig --enable-all-gpus | |
sudo nvidia-xconfig --cool-bits=4 | |
# append following to ~/.profile | |
# set GPU fan speed | |
nvidia-settings -a "[gpu:0]/GPUFanControlState=1" | |
nvidia-settings -a "[fan:0]/GPUTargetFanSpeed=100" | |
nvidia-settings -a "[fan:1]/GPUTargetFanSpeed=100" |
adb push path_to_gdbserver /data/local/tmp/gdbserver run-as package_name mkdir -p /data/data/package_name/gdb/bin cat /data/local/tmp/gdbserver | run-as package_name sh -c 'cat > /data/data/package_name/gdb/bin/gdbserver' run-as package_name chmod 700 /data/data/package_name/gdb/bin/gdbserver
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
config = tf.ConfigProto() | |
config.gpu_options.allow_growth = True | |
sess = tf.Session(config=config) | |
config = tf.compat.v1.ConfigProto() | |
config.gpu_options.allow_growth = True | |
session = tf.compat.v1.InteractiveSession(config=config) |