Skip to content

Instantly share code, notes, and snippets.

View tik0's full-sized avatar
🤖
Beep Boop!

Timo Korthals tik0

🤖
Beep Boop!
  • University Bielefeld
View GitHub Profile
@tik0
tik0 / VisPy.md
Last active March 26, 2019 21:42
matplotlib vs vispy for plotting a sine wave
  • Install manual: http://api.vispy.org/en/latest/installation.html
    • apt-get install python3-pyqt4 python3-pyqt4.qtopengl
    • python3 -m pip install vispy pytest-cov nose flake8 cython
  • Run the test in a git repo of vispy
    • >>> import vispy
  • >>> vispy.test()
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tik0
tik0 / VAE_warmup.ipynb
Created January 16, 2019 23:46
VAE with warmup
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tik0
tik0 / VAE_more_than_2_latent_dim.ipynb
Created January 16, 2019 08:14
VAE inspection of latent dimension
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tik0
tik0 / VAE_custom_loss_split.ipynb
Last active January 10, 2019 20:37
VAE_custom_loss_split with Error if the data set is not dividable by the batch size
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tik0
tik0 / build_gstreamer-1.0.sh
Last active August 31, 2018 12:59
Building gstreamer 1.0 from source
#!/bin/bash
echo "You should remove your old installation if it exist (CAUTION: You might damage your system)"
echo "sudo apt-get remove gstreamer1.0* libgstreamer1.0* libgstreamer-plugins-base1.0* libgstreamer-plugins-good1.0* libgstreamer-plugins-bad1.0* libgstreamer-plugins-ugly1.0* libgstreamer1.0-0:i386 libgstreamer1.0-0* libgstreamer-plugins-good1.0-0* libgstreamer-plugins-base1.0-0* libgstreamer1.0-0*"
echo ""
echo "Install some stuff like:"
echo "apt-get install libx264-dev liborc-0.4-dev liborc-0.4-0"
# Run as sudo
if [ $EUID != 0 ]; then
@tik0
tik0 / ros_np_serialization.py
Created July 28, 2018 23:07
Test for ROS numpy serialization
from nav_msgs.msg import OccupancyGrid
import numpy as np
import StringIO
# Check for the numpy serialization for ROS
# messages w/o publisher:
# http://wiki.ros.org/rospy_tutorials/Tutorials/numpy
# This is our buffer
buff = StringIO.StringIO()