Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Naundorf
HPC_Vehicle_Classification
Commits
8a4c2187
Commit
8a4c2187
authored
Sep 10, 2021
by
Sintal
Browse files
Update main.py
parent
af446f56
Changes
1
Hide whitespace changes
Inline
Side-by-side
main.py
View file @
8a4c2187
...
...
@@ -124,8 +124,6 @@ def create_and_compile_model():
model
.
add
(
Conv2D
(
32
,
kernel_size
=
(
3
,
3
),
activation
=
"relu"
,
input_shape
=
(
constants
.
N_MFCC
,
constants
.
MFCC_MAX_LEN
,
constants
.
CHANNELS
)))
model
.
add
(
Conv2D
(
32
,
kernel_size
=
(
3
,
3
),
activation
=
"relu"
))
model
.
add
(
MaxPooling2D
(
pool_size
=
(
2
,
2
)))
model
.
add
(
Dropout
(
0.25
))
model
.
add
(
Conv2D
(
64
,
kernel_size
=
(
3
,
3
),
activation
=
"relu"
))
model
.
add
(
Conv2D
(
64
,
kernel_size
=
(
3
,
3
),
activation
=
"relu"
))
model
.
add
(
MaxPooling2D
(
pool_size
=
(
2
,
2
)))
model
.
add
(
Dropout
(
0.5
))
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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