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
1b8cd1a4
Commit
1b8cd1a4
authored
Feb 19, 2017
by
Yuxin Wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
a performance claim
parent
08cecd44
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
README.md
README.md
+1
-0
docs/tutorial/tf-queue.md
docs/tutorial/tf-queue.md
+1
-0
No files found.
README.md
View file @
1b8cd1a4
...
@@ -42,6 +42,7 @@ Describe your training task with three components:
...
@@ -42,6 +42,7 @@ Describe your training task with three components:
+ All data producer has an unified interface, so they can be composed and reused to perform complex preprocessing.
+ All data producer has an unified interface, so they can be composed and reused to perform complex preprocessing.
+ Allows you to process data from Python without blocking the training, thanks to multiprocess prefetch & TF Queue prefetch.
+ Allows you to process data from Python without blocking the training, thanks to multiprocess prefetch & TF Queue prefetch.
Even on a small CNN example, it runs [2x faster](https://gist.github.com/ppwwyyxx/8d95da79f8d97036a7d67c2416c851b6) than the equivalent Keras code.
3.
__Callbacks__, including everything you want to do apart from the training iterations, such as:
3.
__Callbacks__, including everything you want to do apart from the training iterations, such as:
+
Change hyperparameters during training
+
Change hyperparameters during training
...
...
docs/tutorial/tf-queue.md
View file @
1b8cd1a4
...
@@ -15,6 +15,7 @@ while True:
...
@@ -15,6 +15,7 @@ while True:
minimize_op
.
run
(
feed_dict
=
{
'X'
:
X
,
'y'
:
y
})
minimize_op
.
run
(
feed_dict
=
{
'X'
:
X
,
'y'
:
y
})
```
```
However, when you need to load data from Python-side, this is the only available interface in frameworks such as Keras, tflearn.
However, when you need to load data from Python-side, this is the only available interface in frameworks such as Keras, tflearn.
This is part of the reason why
[
tensorpack is fast
](
https://gist.github.com/ppwwyyxx/8d95da79f8d97036a7d67c2416c851b6
)
.
You should use something like this instead:
You should use something like this instead:
```
python
```
python
...
...
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