Skip to content

Instantly share code, notes, and snippets.

View risteon's full-sized avatar
💤
when in doubt use brute-force (or Q-learn)

Christoph Rist risteon

💤
when in doubt use brute-force (or Q-learn)
View GitHub Profile
@risteon
risteon / tensorflow_hs_wheel.py
Last active February 20, 2020 09:15
Calculate RGB values for a 2D-hue-saturation wheel.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
"""
import typing
import math
import tensorflow as tf
@risteon
risteon / tensorflow_inspect_checkpoint.py
Last active October 7, 2022 01:59
Tensorflow checkpoints: print all vars {name, shape, dtype} or export them to .csv for further inspection.
# -*- coding: utf-8 -*-
import pathlib
import click
import csv
import prettytable
import tensorflow as tf

Keybase proof

I hereby claim:

  • I am risteon on github.
  • I am crist (https://keybase.io/crist) on keybase.
  • I have a public key ASAfDdSWYxpAjMJgqh98ytnuXn-A7MzZe1hLk2sA0dxy5Ao

To claim this, I am signing this object: