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
642d106e
Commit
642d106e
authored
Oct 20, 2016
by
Yuxin Wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update doc
parent
e9caf75e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
10 deletions
+9
-10
README.md
README.md
+6
-8
examples/SpatialTransformer/README.md
examples/SpatialTransformer/README.md
+3
-2
No files found.
README.md
View file @
642d106e
# tensorpack
Neural Network Toolbox on TensorFlow
Still in development, but usable.
See some
[
examples
](
examples
)
to learn about the framework.
You can actually train them and reproduce the performance... not just see how to write code.
You can actually train them and reproduce the performance... not just
to
see how to write code.
+
[
DoReFa-Net: training binary / low bitwidth CNN
](
examples/DoReFa-Net
)
+
[
IncpetionV3 on ImageNet
](
examples/Inception/inceptionv3.py
)
...
...
@@ -17,16 +15,16 @@ You can actually train them and reproduce the performance... not just see how to
## Features:
Abstract your training task into
three components:
Describe your training task with
three components:
1.
Model, or graph.
`models/`
has some scoped abstraction of common models
. This part is roughly an
equivalent of slim/tflearn/tensorlayer.
1.
Model, or graph.
`models/`
has some scoped abstraction of common models
, but you can simply use
anything available in tensorflow. 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.
+ All data producer has an unified `
DataFlow
` interface, allowing them to be composed to perform complex preprocessing.
+ Use Python to easily handle your own data format, yet still keep a good training speed thanks to multiprocess prefetch & TF Queue prefetch.
+ All data producer has an unified `
generator
` interface, allowing them to be composed to perform complex preprocessing.
+ Use Python to easily handle
any of
your own data format, yet still keep a good training speed thanks to multiprocess prefetch & TF Queue prefetch.
For example, InceptionV3 can run in the same speed as the official code which reads data using TF operators.
3.
Callbacks, including everything you want to do apart from the training iterations. Such as:
...
...
examples/SpatialTransformer/README.md
View file @
642d106e
## Spatial Transformer Network
## Spatial Transformer Network
s
Reproduce the "MNIST addition" experiments in
[
Spatial Transformer Networks
](
https://arxiv.org/abs/1506.02025
)
...
...
@@ -10,7 +10,8 @@ Here the two Spatial Transformer branches learn to localize the two digits
and warped them separately.

(Left: input image; Middle: output of the first STN branch (which localizes the second digit); Right: output of the second STN branch.)
Left: input image; Middle: output of the first STN branch (which localizes the second digit); Right: output of the second STN branch.
To train (takes about 300 epochs to reach 8.8% error):
```
bash
...
...
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