MCPcopy Create free account
hub / github.com/Qiukunpeng/Siamese-Diffusion / transform

Method transform

tutorial_dataset_sample.py:51–58  ·  view source on GitHub ↗
(self, size=384)

Source from the content-addressed store, hash-verified

49
50
51 def transform(self, size=384):
52 transforms = albumentations.Compose(
53 [
54 albumentations.Resize(height=size, width=size)
55
56 ]
57 )
58 return transforms
59

Callers 1

__getitem__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected