MCPcopy
hub / github.com/ladaapp/lada / pop

Method pop

lada/restorationpipeline/mosaic_detector.py:139–145  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

137 return max_width, max_height
138
139 def pop(self):
140 self.frame_start += 1
141 if self.frame_start > self.frame_end:
142 self.frame_start = None
143 self.frame_end = None
144
145 return self.frames.pop(0), self.masks.pop(0), self.boxes.pop(0), self.crop_shapes.pop(0), self.pad_after_resizes.pop(0)
146
147 def __len__(self):
148 return len(self.frames)

Callers 15

_cache_thumbnailMethod · 0.80
updateMethod · 0.80
_restore_frameMethod · 0.80
do_snapshotMethod · 0.80
updateMethod · 0.80
vis_sampleMethod · 0.80
vis_from_message_hubMethod · 0.80
train_stepMethod · 0.80
upsampleMethod · 0.80
__init__Method · 0.80
__init__Method · 0.80
get_samplerFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected