Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
seminar-breakout
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Shashank Suhas
seminar-breakout
Commits
09c45084
Commit
09c45084
authored
Nov 19, 2017
by
Yuxin Wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove hacky augmentation
parent
19181d7e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
examples/cifar-convnet.py
examples/cifar-convnet.py
+2
-5
No files found.
examples/cifar-convnet.py
View file @
09c45084
...
...
@@ -15,8 +15,8 @@ from tensorpack.dataflow import dataset
A small convnet model for Cifar10 or Cifar100 dataset.
Cifar10 trained on 1 GPU:
91
%
accuracy after 50k
step
.
41 step/s on TitanX
91
%
accuracy after 50k
iterations
.
70 itr/s on P100
Not a good model for Cifar100, just for demonstration.
"""
...
...
@@ -94,9 +94,6 @@ def get_data(train_or_test, cifar_classnum):
imgaug
.
Flip
(
horiz
=
True
),
imgaug
.
Brightness
(
63
),
imgaug
.
Contrast
((
0.2
,
1.8
)),
imgaug
.
GaussianDeform
(
[(
0.2
,
0.2
),
(
0.2
,
0.8
),
(
0.8
,
0.8
),
(
0.8
,
0.2
)],
(
30
,
30
),
0.2
,
3
),
imgaug
.
MeanVarianceNormalize
(
all_channel
=
True
)
]
else
:
...
...
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