Skip to content

Instantly share code, notes, and snippets.

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

David chungmin myung smilemcm

🏠
Working from home
View GitHub Profile
@smilemcm
smilemcm / list.md
Created February 20, 2021 11:49 — forked from ih2502mk/list.md
Quantopian Lectures Saved
@smilemcm
smilemcm / min-char-rnn.py
Created September 1, 2020 09:56 — forked from karpathy/min-char-rnn.py
Minimal character-level language model with a Vanilla Recurrent Neural Network, in Python/numpy
"""
Minimal character-level Vanilla RNN model. Written by Andrej Karpathy (@karpathy)
BSD License
"""
import numpy as np
# data I/O
data = open('input.txt', 'r').read() # should be simple plain text file
chars = list(set(data))
data_size, vocab_size = len(data), len(chars)
@smilemcm
smilemcm / min-char-rnn.py
Created September 1, 2020 09:55 — forked from karpathy/min-char-rnn.py
Minimal character-level language model with a Vanilla Recurrent Neural Network, in Python/numpy
"""
Minimal character-level Vanilla RNN model. Written by Andrej Karpathy (@karpathy)
BSD License
"""
import numpy as np
# data I/O
data = open('input.txt', 'r').read() # should be simple plain text file
chars = list(set(data))
data_size, vocab_size = len(data), len(chars)
@smilemcm
smilemcm / googlenet.py
Created August 30, 2020 03:00 — forked from joelouismarino/googlenet.py
GoogLeNet in Keras
from __future__ import print_function
import imageio
from PIL import Image
import numpy as np
import keras
from keras.layers import Input, Dense, Conv2D, MaxPooling2D, AveragePooling2D, ZeroPadding2D, Dropout, Flatten, Concatenate, Reshape, Activation
from keras.models import Model
from keras.regularizers import l2
from keras.optimizers import SGD