def build_dataloader(config, be, frcn_rois_per_img):
 dl = DataLoader(config, be)
 dl = TypeCast(dl, index=0, dtype=np.float32)
 dl = BGRMeanSubtract(dl, index=0, pixel_mean=util.FRCN_PIXEL_MEANS)
 dl = ObjectLocalization(dl, frcn_rois_per_img=frcn_rois_per_img)
 return dl

def build_dataloader ( config , be , frcn_rois_per_img ) : dl = DataLoader ( config , be ) dl = TypeCast ( dl , index = 0 , dtype = np . float32 ) dl = BGRMeanSubtract ( dl , index = 0 , pixel_mean = util . FRCN_PIXEL_MEANS ) dl = ObjectLocalization ( dl , frcn_rois_per_img = frcn_rois_per_img ) return dl
builds the dataloader for the faster-rcnn network using our aeon loader .