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
97cce4a2
Commit
97cce4a2
authored
Jan 27, 2018
by
Yuxin Wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs update
parent
943364bc
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
15 deletions
+22
-15
.github/ISSUE_TEMPLATE.md
.github/ISSUE_TEMPLATE.md
+7
-3
docs/tutorial/performance-tuning.md
docs/tutorial/performance-tuning.md
+2
-2
examples/FasterRCNN/README.md
examples/FasterRCNN/README.md
+12
-9
tensorpack/dataflow/imgaug/base.py
tensorpack/dataflow/imgaug/base.py
+1
-1
No files found.
.github/ISSUE_TEMPLATE.md
View file @
97cce4a2
Bug Reports/Feature Requests/Usage Questions Only:
Any unexpected problems: PLEASE always include
1.
What you did. (command you run and changes you made if using examples; post or describe your code if not)
1.
What you did:
+
Are you using any examples?
+
If yes, post the command you run and changes you made (if any).
+
If not, describe what you did that may be relevant.
But we may not be able to resolve it if there is no reproducible code.
2.
What you observed, e.g. as much as logs possible.
3.
What you expected, if not obvious.
4.
Your environment (TF version, cudnn version, number & type of GPUs), if it matters.
4.
Your environment (TF version,
tensorpack version,
cudnn version, number & type of GPUs), if it matters.
5.
About efficiency, PLEASE first read http://tensorpack.readthedocs.io/en/latest/tutorial/performance-tuning.html
Feature Requests:
...
...
@@ -12,6 +16,6 @@ Feature Requests:
2.
Add a new feature. Please note that, you can implement a lot of features by extending tensorpack
(See http://tensorpack.readthedocs.io/en/latest/tutorial/index.html#extend-tensorpack).
It may not have to be added to tensorpack unless you have a good reason.
3.
Note that we don't
implement papers at others'
requests.
3.
Note that we don't
take example
requests.
You can also use gitter (https://gitter.im/tensorpack/users) for more casual discussions.
docs/tutorial/performance-tuning.md
View file @
97cce4a2
...
...
@@ -20,10 +20,10 @@ PLEASE do them and include your findings.
## Benchmark the components
1.
Use
`DummyConstantInput(shapes)`
as the
`InputSource`
.
so that the iterations
doesn't take any data from Python side but train on
a constant tensor.
so that the iterations
only take data from
a constant tensor.
This will help find out the slow operations you're using in the graph.
2.
Use
`dataflow=FakeData(shapes, random=False)`
to replace your original DataFlow by a constant DataFlow.
This is almost the same as (1), i.e., it
eliminat
es the overhead of data.
This is almost the same as (1), i.e., it
remov
es the overhead of data.
3.
If you're using a TF-based input pipeline you wrote, you can simply run it in a loop and test its speed.
4.
Use
`TestDataSpeed(mydf).start()`
to benchmark your DataFlow.
...
...
examples/FasterRCNN/README.md
View file @
97cce4a2
...
...
@@ -51,16 +51,19 @@ Evaluate the performance of a model and save to json.
Models are trained on trainval35k and evaluated on minival using mAP@IoU=0.50:0.95.
MaskRCNN results contain both bbox and segm mAP.
|Backbone
|
`FASTRCNN_BATCH`
| resolution | mAP (bbox/segm) | Time
|
|
- | - | - | - | -
|
|
R50 | 64 | (600, 1024) | 33.0 | 22h on 8 P100
|
|
R50 | 256 | (600, 1024) | 34.4 | 49h on 8 M40
|
|
R50 | 512 | (800, 1333) | 35.6 | 55h on 8 P
100|
|
R50 | 256 | (800, 1333) | 36.9/32.3 |
39h on 8 P100|
|
R101 | 512 | (800, 1333) | 40.1/34.4 |
70h on 8 P100|
|Backbone
|
`FASTRCNN_BATCH`
|resolution |schedule|mAP (bbox/segm)|Time
|
|
- | - | - | - | - | -
|
|
R50 |64 |(600, 1024)|280k |33.0 |22h on 8 P100
|
|
R50 |512 |(800, 1333)|280k |35.6 |55h on 8 P100
|
|
R50
*
|512 |(800, 1333)|360k |36.7 |49h on 8 V
100|
|
R50 |256 |(800, 1333)|280k |36.9/32.3 |
39h on 8 P100|
|
R101 |512 |(800, 1333)|280k |40.1/34.4 |
70h on 8 P100|
Note that these models are trained with different ROI batch size and LR schedule.
The performance is slightly better than the paper.
These models are trained with different configurations.
The starred (
*
) models have identical configurations with
`R50-C4-2x`
configuration in
[
Detectron Model Zoo
](
https://github.com/facebookresearch/Detectron/blob/master/MODEL_ZOO.md#end-to-end-faster--mask-r-cnn-baselines0
)
and get the same performance.
## Notes
...
...
tensorpack/dataflow/imgaug/base.py
View file @
97cce4a2
...
...
@@ -38,7 +38,7 @@ class Augmentor(object):
def
augment_return_params
(
self
,
d
):
"""
Returns:
augmented data
augmentaion params
"""
...
...
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