(self, inputs)
Initialize buffers for images and ROIs

        Arguments:
            inputs:

        Returns:
Initialize buffers for images and ROIs
Initialize buffers for images and ROIs
def init_buffers(self, inputs):
        """
        Initialize buffers for images and ROIs

        Arguments:
            inputs:

        Returns:

        """
        assert len(inputs) == 2, "inputs must contain both images and ROIs"
        self.img = inputs[0]
        self.rois = inputs[1].transpose()
        assert self.rois.shape[1] == 5, "ROI entry must be 5-value tuple"
def init_buffers ( self , inputs ) : assert len ( inputs ) == 2 , "inputs must contain both images and ROIs" self . img = inputs [ 0 ] self . rois = inputs [ 1 ] . transpose ( ) assert self . rois . shape [ 1 ] == 5 , "ROI entry must be 5-value tuple"