MCPcopy Create free account
hub / github.com/SLDGroup/EMCAD / __init__

Method __init__

utils/joint_transforms.py:203–206  ·  view source on GitHub ↗
(self, crop_size, stride_rate, ignore_label)

Source from the content-addressed store, hash-verified

201
202class SlidingCrop(object):
203 def __init__(self, crop_size, stride_rate, ignore_label):
204 self.crop_size = crop_size
205 self.stride_rate = stride_rate
206 self.ignore_label = ignore_label
207
208 def _pad(self, img, mask):
209 h, w = img.shape[: 2]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected