Skip to content

Commit

Permalink
solve conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
MeowZheng committed Jan 2, 2023
1 parent 9baec65 commit 6e0c593
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions mmseg/datasets/transforms/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@
LoadBiomedicalData, LoadBiomedicalImageFromFile,
LoadImageFromNDArray)
# yapf: disable
from .transforms import (CLAHE, AdjustGamma, BioMedicalRandomGamma, BioMedical3DRandomCrop,
from .transforms import (CLAHE, AdjustGamma, BioMedical3DRandomCrop,
BioMedicalGaussianBlur, BioMedicalGaussianNoise,
GenerateEdge, PhotoMetricDistortion, RandomCrop,
RandomCutOut, RandomMosaic, RandomRotate, Rerange,
BioMedicalRandomGamma, GenerateEdge,
PhotoMetricDistortion, RandomCrop, RandomCutOut,
RandomMosaic, RandomRotate, Rerange,
ResizeShortestEdge, ResizeToMultiple, RGB2Gray,
SegRescale)

Expand Down
2 changes: 1 addition & 1 deletion tests/test_datasets/test_transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -950,4 +950,4 @@ def test_BioMedicalRandomGamma():
transform2 = TRANSFORMS.build(transform2)
results = transform2(results)
transformed_img = results['img']
assert origin_img.shape == transformed_img.shape
assert origin_img.shape == transformed_img.shape

0 comments on commit 6e0c593

Please sign in to comment.