Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Matt Harvey
five-video-classification-methods
Commits
313fc5e0
Commit
313fc5e0
authored
7 years ago
by
Matt Harvey
Browse files
Options
Download
Email Patches
Plain Diff
Conflicts 2.
parent
ff75b83e
master
add-demo-script
github/fork/Anner-deJong/patch-2
github/fork/ideaRunner/edit_move_file
github/fork/ikvision/master
github/fork/mertia-himanshu/master
github/fork/prabindh/master
github/fork/sanshibayuan/master
playground
playground-add-synthetic
v1.0
1 merge request
!24
Update CRNN to LRCN
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
models.py
+1
-9
models.py
with
1 addition
and
9 deletions
+1
-9
models.py
+
1
-
9
View file @
313fc5e0
"""
A collection of models we'll use to attempt to classify videos.
"""
<<<<<<<
HEAD
from
keras.layers
import
Dense
,
Flatten
,
Dropout
,
Reshape
,
Input
=======
from
keras.layers
import
Dense
,
Flatten
,
Dropout
,
ZeroPadding3D
>>>>>>>
master
from
keras.layers.recurrent
import
LSTM
from
keras.models
import
Sequential
,
load_model
from
keras.optimizers
import
Adam
,
RMSprop
...
...
@@ -70,11 +66,7 @@ class ResearchModels():
sys
.
exit
()
# Now compile the network.
<<<<<<<
HEAD
optimizer
=
Adam
(
lr
=
0.00001
,
decay
=
1e-6
)
=======
optimizer
=
Adam
(
lr
=
1e-5
)
>>>>>>>
master
optimizer
=
Adam
(
lr
=
1e-4
,
decay
=
1e-6
)
self
.
model
.
compile
(
loss
=
'categorical_crossentropy'
,
optimizer
=
optimizer
,
metrics
=
metrics
)
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Explore
Projects
Groups
Snippets