Skip to content

Instantly share code, notes, and snippets.

View daxinniu's full-sized avatar
🎮
Gaming

Daxin Niu daxinniu

🎮
Gaming
View GitHub Profile
@daxinniu
daxinniu / baseline_VGG16
Created February 21, 2021 23:18
Baseline model for Cassava Leaf Disease classification
def build_baseline_vgg():
input_shape = (160, 120, 3)
baseline_model = VGG16(weights='imagenet', include_top=False, input_shape=input_shape)
x = baseline_model.output
x = Flatten()(x)
x = Dense(512, activation='relu')(x)
x = Dropout(rate=0.25)(x)
x = Dense(256, activation='relu')(x)
x = Dropout(rate=0.25)(x)
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@daxinniu
daxinniu / Simulation_example.ipynb
Created November 21, 2020 20:56
Simulation_example
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.