Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
caries_classifier
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sjjsmuel
caries_classifier
Commits
cfbc26cd
Commit
cfbc26cd
authored
Apr 15, 2020
by
sjjsmuel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
only resnet50
parent
287a9b5e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
classifier/Resnet50.py
classifier/Resnet50.py
+1
-4
No files found.
classifier/Resnet50.py
View file @
cfbc26cd
...
...
@@ -29,10 +29,7 @@ class Resnet50(NetworkBase):
if
shouldSave
:
base_model
.
save
(
'data/resnet_50_base_model.h5'
)
x
=
Flatten
()(
base_model
.
output
)
x
=
Dropout
(
0.4
)(
x
)
x
=
Dense
(
128
,
activation
=
'relu'
)(
x
)
x
=
Dropout
(
0.4
)(
x
)
x
=
GlobalAveragePooling2D
(
base_model
.
output
)
out
=
Dense
(
self
.
NUM_CLASSES
,
activation
=
'softmax'
,
name
=
'probs'
)(
x
)
model
=
Model
(
base_model
.
input
,
out
)
...
...
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