Skip to content

Instantly share code, notes, and snippets.

View christianversloot's full-sized avatar
🏠
Working from home

Christian Versloot christianversloot

🏠
Working from home
View GitHub Profile
@christianversloot
christianversloot / lr_finder_keras.py
Created February 27, 2020 07:12 — forked from WittmannF/lr_finder_keras.py
Learning Rate Finder as a Keras Callback
from keras.callbacks import Callback
import keras.backend as K
import numpy as np
import matplotlib.pyplot as plt
class LRFinder(Callback):
"""
Up-to date version: https://github.com/WittmannF/LRFinder
Example of usage:
from keras.models import Sequential