Create two crops of the same image
| 7 | |
| 8 | |
| 9 | class TwoCropTransform: |
| 10 | """Create two crops of the same image""" |
| 11 | def __init__(self, transform): |
| 12 | self.transform = transform |
| 13 | |
| 14 | def __call__(self, x): |
| 15 | return [self.transform(x), self.transform(x)] |
| 16 | |
| 17 | |
| 18 | class AverageMeter(object): |