Skip to content

Instantly share code, notes, and snippets.

View lucasrdrgs's full-sized avatar

Lucas Rodrigues lucasrdrgs

  • Hubla
  • Campinas - São Paulo
  • 17:47 (UTC -03:00)
View GitHub Profile
@lucasrdrgs
lucasrdrgs / brazil_regions.geojson
Created August 23, 2020 01:36
GeoJSON regiões brasileiras
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@lucasrdrgs
lucasrdrgs / shuffle_weights.py
Created October 31, 2019 23:31 — forked from jkleint/shuffle_weights.py
Quickly re-initialize weights of a Keras model
#!/usr/bin/env python
"""Demonstrate Keras model weight shuffling as fast alternative to re-creating a model."""
from __future__ import print_function
import numpy as np
from keras.layers import Dense
from keras.models import Sequential
export PS1="\[\e[31;1m\]\u@\h \[\e[0m\]\[\e[38;5;69m\]\w #\[\e[0m\] "