Commit 32bd159
RandomResize op
Summary:
X-link: facebookresearch/d2go#384
Random resize augmentation. Randomly pick a scale from the shape_list and resize to that scale.
D2 (11528ce083dc9ff83ee3a8f9086a1ef54d2a402f)GO_DATA:
AUG_OPS:
TRAIN: [
RandomResizeOp::{"shape_list": [[224, 224], [256, 256], [320, 320]]}
]
Reviewed By: XiaoliangDai
Differential Revision: D40230332
fbshipit-source-id: 60a48f85240aef673033d48db4662899dc90bef41 parent 998c4e1 commit 32bd159
1 file changed
+19
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
626 | 627 | | |
627 | 628 | | |
628 | 629 | | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
0 commit comments