Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
distiller
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
llvm
distiller
Commits
e04e5824
Unverified
Commit
e04e5824
authored
5 years ago
by
Neta Zmora
Committed by
GitHub
5 years ago
Browse files
Options
Downloads
Plain Diff
image-classifier: non-functional refactoring
parents
f89ba961
c3d6a1c3
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
distiller/apputils/image_classifier.py
+1
-1
1 addition, 1 deletion
distiller/apputils/image_classifier.py
with
1 addition
and
1 deletion
distiller/apputils/image_classifier.py
+
1
−
1
View file @
e04e5824
...
@@ -225,7 +225,7 @@ def init_classifier_compression_arg_parser():
...
@@ -225,7 +225,7 @@ def init_classifier_compression_arg_parser():
help
=
'
collect activation statistics on phases: train, valid, and/or test
'
help
=
'
collect activation statistics on phases: train, valid, and/or test
'
'
(WARNING: this slows down training)
'
)
'
(WARNING: this slows down training)
'
)
parser
.
add_argument
(
'
--activation-histograms
'
,
'
--act-hist
'
,
parser
.
add_argument
(
'
--activation-histograms
'
,
'
--act-hist
'
,
type
=
distiller
.
utils
.
float_range_argparse_checker
(
exc_min
=
True
),
type
=
float_range
(
exc_min
=
True
),
metavar
=
'
PORTION_OF_TEST_SET
'
,
metavar
=
'
PORTION_OF_TEST_SET
'
,
help
=
'
Run the model in evaluation mode on the specified portion of the test dataset and
'
help
=
'
Run the model in evaluation mode on the specified portion of the test dataset and
'
'
generate activation histograms. NOTE: This slows down evaluation significantly
'
)
'
generate activation histograms. NOTE: This slows down evaluation significantly
'
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment