Skip to content

RandAffine -- skip resampling if not necessary #4480

Description

@wyli

Describe the bug

if not do_resampling:
img, *_ = convert_data_type(img, dtype=torch.float32, device=self.resampler.device)

the current flag is checked but still does the resampling.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions