Skip to content

Instantly share code, notes, and snippets.

@thomasbrandon
thomasbrandon / STFTPerformance.ipynb
Last active June 1, 2019 09:52
Code to test CPU and PyTorch GPU code performance
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@thomasbrandon
thomasbrandon / IntroToAudio-STFT.ipynb
Last active April 4, 2021 11:26
Notebook showing STFT paramaters and output
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@thomasbrandon
thomasbrandon / pil_info.py
Created April 18, 2019 17:32
Show information on libraries used by PIL
#!/usr/bin/env python3
from sys import exit
from pathlib import Path
import re
import os
try:
import PIL, PIL.Image
except:
exit("PIL not found.")