Skip to content

Instantly share code, notes, and snippets.

View carlthome's full-sized avatar
🎼

Carl Thomé carlthome

🎼
View GitHub Profile
@carlthome
carlthome / noise2music-inspired-automatic-music-captioning.ipynb
Last active December 19, 2024 15:43
noise2music-inspired-automatic-music-captioning.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@carlthome
carlthome / audioldm-stable-audio-open-musicgen.ipynb
Created September 9, 2024 08:09
AudioLDM, Stable Audio Open, MusicGen.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@carlthome
carlthome / gradio.py
Created July 11, 2024 15:42
Example of using a dataclass with Gradio
import numpy as np
from dataclasses import dataclass
import gradio as gr
@dataclass
class A:
x: int
y: int
@carlthome
carlthome / sound-effect-waveform-visualization-tinkering.ipynb
Created June 4, 2024 23:05
Sound effect waveform visualization tinkering.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@carlthome
carlthome / welch-s-t-test-for-independent-samples.ipynb
Last active December 10, 2024 23:53
welch-s-t-test-for-independent-samples.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@carlthome
carlthome / f-test.ipynb
Created March 27, 2024 15:03
F-test.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@carlthome
carlthome / Encode and decode example with T5.ipynb
Last active September 24, 2023 22:14
Encode and decode example with T5.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@carlthome
carlthome / Proximal Policy Optimization (PPO) of the CartPole problem with PyTorch.ipynb
Last active August 20, 2023 21:11
Proximal Policy Optimization (PPO) of the CartPole problem with PyTorch
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@carlthome
carlthome / shell.nix
Last active July 2, 2023 20:12
mir_eval from nixpkgs example shell
{ pkgs ? import <nixpkgs> { } }:
pkgs.mkShell {
packages = [
(pkgs.python3.withPackages (ps: with ps; [
ipython
mir_eval
]))
];
shellHook = ''
ipython -c 'import mir_eval; print(mir_eval.__version__)'
@carlthome
carlthome / Lagrange polynomial interpolation.ipynb
Last active August 20, 2023 21:11
Lagrange polynomial interpolation
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.