Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
sjjsmuel
caries_classifier
Commits
e13d1751
Commit
e13d1751
authored
Apr 15, 2020
by
sjjsmuel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
trainable layers
parent
982351b1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
classifier/Resnet50.py
classifier/Resnet50.py
+3
-0
No files found.
classifier/Resnet50.py
View file @
e13d1751
...
...
@@ -34,5 +34,8 @@ class Resnet50(NetworkBase):
out
=
Dense
(
self
.
NUM_CLASSES
,
activation
=
'softmax'
,
name
=
'probs'
)(
x
)
model
=
Model
(
base_model
.
input
,
out
)
for
layer
in
model
.
layers
[:
-
39
]:
layer
.
trainable
=
False
return
model
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment