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
17d2c940
Commit
17d2c940
authored
7 years ago
by
Matt Harvey
Browse files
Options
Download
Email Patches
Plain Diff
Migrate fit_generator
parent
48a7fd38
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
!6
Keras 2 upgrade
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
train_cnn.py
+3
-3
train_cnn.py
with
3 additions
and
3 deletions
+3
-3
train_cnn.py
+
3
-
3
View file @
17d2c940
...
...
@@ -106,10 +106,10 @@ def train_model(model, nb_epoch, generators, callbacks=[]):
train_generator
,
validation_generator
=
generators
model
.
fit_generator
(
train_generator
,
s
ample
s_per_epoch
=
1
28
,
s
tep
s_per_epoch
=
1
00
,
validation_data
=
validation_generator
,
nb_val_samples
=
768
,
nb_
epoch
=
nb_epoch
,
validation_steps
=
10
,
epoch
s
=
nb_epoch
,
callbacks
=
callbacks
)
return
model
...
...
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