[Bug Fix] Add missing transforms in __init__.py (#260)

pull/263/head
Jerry Jiarui XU 2020-11-17 20:22:46 -08:00 committed by GitHub
parent 79d03b1597
commit 8d568fbc0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -4,11 +4,13 @@ from .formating import (Collect, ImageToTensor, ToDataContainer, ToTensor,
from .loading import LoadAnnotations, LoadImageFromFile
from .test_time_aug import MultiScaleFlipAug
from .transforms import (Normalize, Pad, PhotoMetricDistortion, RandomCrop,
RandomFlip, Resize, SegRescale)
RandomFlip, RandomRotate, Rerange, Resize, RGB2Gray,
SegRescale)
__all__ = [
'Compose', 'to_tensor', 'ToTensor', 'ImageToTensor', 'ToDataContainer',
'Transpose', 'Collect', 'LoadAnnotations', 'LoadImageFromFile',
'MultiScaleFlipAug', 'Resize', 'RandomFlip', 'Pad', 'RandomCrop',
'Normalize', 'SegRescale', 'PhotoMetricDistortion'
'Normalize', 'SegRescale', 'PhotoMetricDistortion', 'RandomRotate',
'Rerange', 'RGB2Gray'
]