You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from keras.models import Sequential
from keras.layers import Dense, Dropout, Flatten, Lambda
from keras.layers import Conv2D, MaxPooling2D, Cropping2D
from keras.callbacks import ModelCheckpoint
from keras.optimizers import SGD
from keras import backend as K
Configure Session
import tensorflow as tf
tf_config = tf.ConfigProto(allow_soft_placement=False)
tf_config.gpu_options.allow_growth = True
tf_config.log_device_placement=True
s = tf.Session(config=tf_config)
K.clear_session()
K.set_session(s)
K.floatx() # check current default float type
K.set_floatx('float16') # set default float type to FP16
Model based on NVIDIA's End to End Learning for Self-Driving Cars model