MCPcopy Create free account
hub / github.com/DSL-Lab/StreamSplat / set_transform

Method set_transform

datasets/provider_combined.py:137–148  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

135 return data
136
137 def set_transform(self):
138 self.transform = tf.Compose([
139 tf.Resize(self.opt.down_resolution),
140 tf.ToTensor(),
141 ])
142 self.depth_transform = tf.Compose([
143 tf.Resize(self.opt.down_resolution, interpolation=tf.InterpolationMode.NEAREST),
144 tf.ToTensor(),
145 ])
146 self.mask_transform = tf.Compose([
147 tf.Resize(self.opt.down_resolution, interpolation=tf.InterpolationMode.NEAREST),
148 ])

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected