Skip to content

Instantly share code, notes, and snippets.

View valkjsaaa's full-sized avatar

Jackie Yang valkjsaaa

View GitHub Profile
@valkjsaaa
valkjsaaa / gist:b2b694fdcb37a00c316ebff4b20491e3
Created June 1, 2022 21:17 — forked from benbahrenburg/gist:1129364
Tell git to globally ignore .DS_Store
git config --global core.excludesfile ~/.global_gitignore
echo .DS_Store >> ~/.global_gitignore
import numpy as np
np.random.seed(42)
import tensorflow as tf
tf.set_random_seed(42)
from keras.models import Sequential, load_model
from keras.layers import Dense, Activation
from keras.layers import LSTM, Dropout
from keras.layers import TimeDistributed
from keras.layers.core import Dense, Activation, Dropout, RepeatVector
from keras.optimizers import RMSprop