Skip to content

Instantly share code, notes, and snippets.

@uchidama
uchidama / hand_write_digit_on_html_canvas_prediction.ipynb
Created January 6, 2018 17:09
A digit that is written on HTML Canvas is predictted by a Conv model that learned MNIST. https://github.com/uchidama/HandWriteDigitOnHtmlCanvasPrediction
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@uchidama
uchidama / keras_fashion-mnist_simple_viewer.ipynb
Last active August 15, 2019 18:37
Fashion mnist simple viewer in keras
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@uchidama
uchidama / keras_VGG16_predict_webcam_photo.ipynb
Created February 12, 2018 16:27
Prediction a webcamera photo by a VGG16 model.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@uchidama
uchidama / overlay_alpha_png_rot_and_contour_python_opencv.ipynb
Last active August 15, 2019 18:33
rotate and overlay alpha png on jpg in python-opencv
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
"""Implementation of NEAT.
python neat.py --task {xor, lunar, cartpole}
See the post at https://wellecks.wordpress.com/ for details.
Parts of this implementation are based on Neat-Python.
"""
from itertools import count
import numpy as np
import math