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
87569ca6
Commit
87569ca6
authored
Aug 31, 2016
by
Yuxin Wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update dorefa doc
parent
bbe8f42a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
README.md
README.md
+3
-2
examples/DoReFa-Net/alexnet-dorefa.py
examples/DoReFa-Net/alexnet-dorefa.py
+1
-2
No files found.
README.md
View file @
87569ca6
...
...
@@ -15,7 +15,8 @@ See some interesting [examples](examples) to learn about the framework:
Abstract your training task into three components:
1.
Model, or graph.
`models/`
has some scoped abstraction of common models.
1.
Model, or graph.
`models/`
has some scoped abstraction of common models. This part is roughly an
equivalent of slim/tflearn/tensorlayer.
`LinearWrap`
and
`argscope`
makes large models look simpler.
2.
Data. tensorpack allows and encourages complex data processing.
...
...
@@ -32,7 +33,7 @@ Abstract your training task into three components:
+
Send the accuracy to your phone
With the above components defined, tensorpack trainer will run the training iterations for you.
Multi-GPU training is
ready to use
by simply switching the trainer.
Multi-GPU training is
off-the-shelf
by simply switching the trainer.
## Dependencies:
...
...
examples/DoReFa-Net/alexnet-dorefa.py
View file @
87569ca6
...
...
@@ -289,8 +289,7 @@ if __name__ == '__main__':
parser
.
add_argument
(
'--load'
,
help
=
'load a checkpoint, or a npy (given as the pretrained model)'
)
parser
.
add_argument
(
'--data'
,
help
=
'ILSVRC dataset dir'
)
parser
.
add_argument
(
'--dorefa'
,
help
=
'number of bits for W,A,G, separated by comma. Defaults to
\'
1,2,4
\'
'
,
default
=
'1,2,4'
)
help
=
'number of bits for W,A,G, separated by comma'
,
required
=
True
)
parser
.
add_argument
(
'--run'
,
help
=
'run on a list of images with the pretrained model'
,
nargs
=
'*'
)
args
=
parser
.
parse_args
()
...
...
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