MCPcopy Index your code
hub / github.com/tdeboissiere/DeepLearningImplementations / FCN

Function FCN

Eve/models.py:25–39  ·  view source on GitHub ↗
(img_dim, nb_classes, model_name="FCN")

Source from the content-addressed store, hash-verified

23
24
25def FCN(img_dim, nb_classes, model_name="FCN"):
26
27 x_input = Input(shape=img_dim, name="input")
28
29 x = Flatten()(x_input)
30
31 for i in range(20):
32 x = Dense(50, activation="relu")(x)
33
34 x = Dense(nb_classes, activation="softmax")(x)
35
36 FCN = Model(inputs=[x_input], outputs=[x])
37 FCN.name = model_name
38
39 return FCN
40
41
42def CNN(img_dim, nb_classes, model_name="CNN"):

Callers 1

loadFunction · 0.85

Calls 1

ModelClass · 0.90

Tested by

no test coverage detected