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
4071cbec
Commit
4071cbec
authored
Jun 22, 2016
by
Yuxin Wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add citation
parent
9908baa2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
9 deletions
+20
-9
examples/DoReFa-Net/README.md
examples/DoReFa-Net/README.md
+15
-1
examples/mnist-convnet.py
examples/mnist-convnet.py
+5
-8
No files found.
examples/DoReFa-Net/README.md
View file @
4071cbec
...
@@ -10,7 +10,7 @@ To use the script. You'll need:
...
@@ -10,7 +10,7 @@ To use the script. You'll need:
+
[
TensorFlow
](
https://tensorflow.org
)
>= 0.8
+
[
TensorFlow
](
https://tensorflow.org
)
>= 0.8
+
OpenCV
B
indings for Python
+
OpenCV
b
indings for Python
+
[
tensorpack
](
https://github.com/ppwwyyxx/tensorpack
)
:
+
[
tensorpack
](
https://github.com/ppwwyyxx/tensorpack
)
:
...
@@ -46,3 +46,17 @@ To eval on ILSVRC12, `path/to/ILSVRC12` must have a subdirectory named 'val' con
...
@@ -46,3 +46,17 @@ To eval on ILSVRC12, `path/to/ILSVRC12` must have a subdirectory named 'val' con
Please use
[
github issues
](
https://github.com/ppwwyyxx/tensorpack/issues
)
for any issues related to the code.
Please use
[
github issues
](
https://github.com/ppwwyyxx/tensorpack/issues
)
for any issues related to the code.
Send email to the authors for other questions related to the paper.
Send email to the authors for other questions related to the paper.
## Citation
If you use our models in your research, please cite:
```
@article{zhou2016dorefa,
author = {Shuchang Zhou and Zekun Ni and Xinyu Zhou and He Wen and Yuxin Wu and Yuheng Zou},
title = {DoReFa-Net: Training Low Bitwidth Convolutional Neural Networks with Low Bitwidth Gradients},
journal = {CoRR},
volume = {abs/1606.06160},
year = {2016},
url = {http://arxiv.org/abs/1606.06160},
}
```
examples/mnist-convnet.py
View file @
4071cbec
...
@@ -107,12 +107,9 @@ if __name__ == '__main__':
...
@@ -107,12 +107,9 @@ if __name__ == '__main__':
args
=
parser
.
parse_args
()
args
=
parser
.
parse_args
()
if
args
.
gpu
:
if
args
.
gpu
:
os
.
environ
[
'CUDA_VISIBLE_DEVICES'
]
=
args
.
gpu
os
.
environ
[
'CUDA_VISIBLE_DEVICES'
]
=
args
.
gpu
else
:
os
.
environ
[
'CUDA_VISIBLE_DEVICES'
]
=
'0'
config
=
get_config
()
if
args
.
load
:
with
tf
.
Graph
()
.
as_default
():
config
.
session_init
=
SaverRestore
(
args
.
load
)
config
=
get_config
()
QueueInputTrainer
(
config
)
.
train
()
if
args
.
load
:
config
.
session_init
=
SaverRestore
(
args
.
load
)
QueueInputTrainer
(
config
)
.
train
()
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