Add detectron2 maskrcnn model (#556)
Summary:
This PR fixes https://github.com/pytorch/benchmark/issues/148
It also creates an input data directory that contains a sample input data used by the model. And correctly sets up the environment.
# Eval
## Batch size analysis
<google-sheets-html-origin>
Batch Size | GPU Time | CPU Dispatch Time | Walltime | GPU Delta
-- | -- | -- | -- | --
1 | 139.581 | 139.511 | 139.589 | -
2 | 236.31 | 235.533 | 236.297 | 0.692995465
4 | 607.77 | 606.458 | 607.751 | 1.571918243
8 | 1194.014 | 1193.224 | 1193.985 | 0.9645819965
16 | 2418.878 | 2416.83 | 2418.817 | 1.025837218
best bs=2
## Non-idleness analysis (bs=2)

# Train
## Batch size analysis
<google-sheets-html-origin>
Batch Size | GPU Time | CPU Dispatch Time | Walltime | GPU Delta
-- | -- | -- | -- | --
1 | 1792.45 | 642.931 | 1792.432 | -
2 | 3714.625 | 2457.879 | 3714.549 | 1.072373009
4 | 7254.945 | 6196.129 | 7254.758 | 0.9530760171
8 | 15508.744 | 14079.343 | 15508.328 | 1.137679059
best bs=1
## Non-idleness analysis (bs=1)

STABLE_TEST_MODEL: detectron2_maskrcnn
Pull Request resolved: https://github.com/pytorch/benchmark/pull/556
Reviewed By: aaronenyeshi
Differential Revision: D32410509
Pulled By: xuzhao9
fbshipit-source-id: d178fa2a2b69d2fbb0993b23e140e732f7cec035