Skip to content

Instantly share code, notes, and snippets.

View mlaves's full-sized avatar

Max-Heinrich Laves mlaves

View GitHub Profile
@mlaves
mlaves / coremltools_unet3d_crash.ipynb
Last active October 1, 2023 08:14
Example of coremltools segfault on larger input sizes.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mlaves
mlaves / rug_plot_matplotlib.ipynb
Created January 26, 2023 10:29
rug_plot_matplotlib.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mlaves
mlaves / kernel-svm.ipynb
Created September 8, 2021 08:25
Kernel SVM.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mlaves
mlaves / pytorch_radon.ipynb
Created July 16, 2021 12:28
pytorch_radon.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mlaves
mlaves / incremental_ik-panda.ipynb
Last active July 10, 2023 10:38
Incremental Inverse Kinematics for Franka Emika Panda 7DoF Robot
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mlaves
mlaves / client.py
Last active April 15, 2024 13:20
Send a numpy array via socket to a C/C++ program.
import socket
import numpy as np
HOST = '127.0.0.1' # The server's hostname or IP address
PORT = 65432 # The port used by the server
data = np.random.rand(1000000)
with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s:
print(f"Sent {np.prod(data.shape)} elements.")
@mlaves
mlaves / bayesian_optimization_gpytorch.ipynb
Created February 6, 2021 09:51
bayesian_optimization_gpytorch.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mlaves
mlaves / bayesian_optimization.ipynb
Created January 23, 2021 12:50
bayesian_optimization.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mlaves
mlaves / two_moons_create_opener.ipynb
Last active November 1, 2020 13:08
Unsupervised toy experiment on the "two moons" data set.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mlaves
mlaves / linear-regression-metropolis-hastings.ipynb
Last active September 17, 2020 14:18
Linear Regression Metropolis-Hastings.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.