Working demo
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
Files changed (50)
- .DS_StoreAdded
- .gitattributes+67
- README.md+2-2
- app.pyAdded+161
- arial.ttfAdded
- checkpoints/sid_1-500_m3lteacher.pthAdded+3
- checkpoints/sid_1-500_mtteacher.pthAdded+3
- classcolors.pngAdded
- colors.pklAdded+3
- datasets/__init__.pyAdded
- datasets/__pycache__/__init__.cpython-36.pycAdded
- datasets/__pycache__/__init__.cpython-38.pycAdded
- datasets/__pycache__/__init__.cpython-39.pycAdded
- datasets/__pycache__/base_dataset.cpython-36.pycAdded
- datasets/__pycache__/base_dataset.cpython-38.pycAdded
- datasets/__pycache__/base_dataset.cpython-39.pycAdded
- datasets/__pycache__/citysundepth.cpython-36.pycAdded
- datasets/__pycache__/citysundepth.cpython-39.pycAdded
- datasets/__pycache__/citysunrgb.cpython-36.pycAdded
- datasets/__pycache__/citysunrgb.cpython-38.pycAdded
- datasets/__pycache__/citysunrgb.cpython-39.pycAdded
- datasets/__pycache__/citysunrgbd.cpython-36.pycAdded
- datasets/__pycache__/citysunrgbd.cpython-38.pycAdded
- datasets/__pycache__/get_dataset.cpython-36.pycAdded
- datasets/__pycache__/get_dataset.cpython-39.pycAdded
- datasets/__pycache__/preprocessors.cpython-36.pycAdded
- datasets/__pycache__/preprocessors.cpython-38.pycAdded
- datasets/__pycache__/tfnyu.cpython-36.pycAdded
- datasets/base_dataset.pyAdded+128
- datasets/citysunrgbd.pyAdded+67
- datasets/get_dataset.pyAdded+146
- datasets/preprocessors.pyAdded+144
- examples/.DS_StoreAdded
- examples/depth/camera_0a529ee09fc04037831902b83073862b_office_4_frame_45_domain.pngAdded
- examples/depth/camera_0a529ee09fc04037831902b83073862b_office_4_frame_46_domain.pngAdded
- examples/depth/camera_0a529ee09fc04037831902b83073862b_office_4_frame_47_domain.pngAdded
- examples/depth/camera_0a529ee09fc04037831902b83073862b_office_4_frame_48_domain.pngAdded
- examples/depth/camera_0a529ee09fc04037831902b83073862b_office_4_frame_49_domain.pngAdded
- examples/depth/camera_0a529ee09fc04037831902b83073862b_office_4_frame_50_domain.pngAdded
- examples/depth/camera_0a529ee09fc04037831902b83073862b_office_4_frame_51_domain.pngAdded
- examples/depth/camera_0a529ee09fc04037831902b83073862b_office_4_frame_52_domain.pngAdded
- examples/depth/camera_0a529ee09fc04037831902b83073862b_office_4_frame_53_domain.pngAdded
- examples/depth/camera_0b2396756adf4a76bbb985af92f534af_office_7_frame_0_domain.pngAdded
- examples/depth/camera_0b2396756adf4a76bbb985af92f534af_office_7_frame_10_domain.pngAdded
- examples/depth/camera_0b2396756adf4a76bbb985af92f534af_office_7_frame_1_domain.pngAdded
- examples/depth/camera_0b2396756adf4a76bbb985af92f534af_office_7_frame_2_domain.pngAdded
- examples/depth/camera_0b2396756adf4a76bbb985af92f534af_office_7_frame_3_domain.pngAdded
- examples/depth/camera_0b2396756adf4a76bbb985af92f534af_office_7_frame_4_domain.pngAdded
- examples/depth/camera_0b2396756adf4a76bbb985af92f534af_office_7_frame_5_domain.pngAdded
- examples/depth/camera_0b2396756adf4a76bbb985af92f534af_office_7_frame_6_domain.pngAdded
31 unmodified lines32333431 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -text31 unmodified lines323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010131 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -textcheckpoints/sid_1-500_m3lteacher.pth filter=lfs diff=lfs merge=lfs -textcheckpoints/sid_1-500_mtteacher.pth filter=lfs diff=lfs merge=lfs -textexamples/rgb/camera_0b2396756adf4a76bbb985af92f534af_office_7_frame_10_domain.png filter=lfs diff=lfs merge=lfs -textexamples/rgb/camera_0b2396756adf4a76bbb985af92f534af_office_7_frame_9_domain.png filter=lfs diff=lfs merge=lfs -textexamples/rgb/camera_0a529ee09fc04037831902b83073862b_office_4_frame_46_domain.png filter=lfs diff=lfs merge=lfs -textexamples/rgb/camera_0b2396756adf4a76bbb985af92f534af_office_7_frame_4_domain.png filter=lfs diff=lfs merge=lfs -textexamples/rgb/camera_0c2610e800274e329f5fac53402855ef_office_32_frame_8_domain.png filter=lfs diff=lfs merge=lfs -textexamples/rgb/camera_0a529ee09fc04037831902b83073862b_office_4_frame_53_domain.png filter=lfs diff=lfs merge=lfs -textexamples/rgb/camera_0a529ee09fc04037831902b83073862b_office_4_frame_49_domain.png filter=lfs diff=lfs merge=lfs -textexamples/rgb/camera_0b2396756adf4a76bbb985af92f534af_office_7_frame_8_domain.png filter=lfs diff=lfs merge=lfs -textexamples/rgb/camera_0c2610e800274e329f5fac53402855ef_office_32_frame_5_domain.png filter=lfs diff=lfs merge=lfs -textexamples/rgb/camera_4e7d4edf7c2a40ae93437d1fbde22043_office_6_frame_47_domain.png filter=lfs diff=lfs merge=lfs -textexamples/rgb/camera_0a529ee09fc04037831902b83073862b_office_4_frame_47_domain.png filter=lfs diff=lfs merge=lfs -textexamples/rgb/camera_0b2396756adf4a76bbb985af92f534af_office_7_frame_1_domain.png filter=lfs diff=lfs merge=lfs -textexamples/rgb/camera_0c2610e800274e329f5fac53402855ef_office_32_frame_2_domain.png filter=lfs diff=lfs merge=lfs -textexamples/rgb/camera_0c2610e800274e329f5fac53402855ef_office_32_frame_3_domain.png filter=lfs diff=lfs merge=lfs -textexamples/rgb/camera_0c2610e800274e329f5fac53402855ef_office_32_frame_9_domain.png filter=lfs diff=lfs merge=lfs -textexamples/rgb/camera_0a529ee09fc04037831902b83073862b_office_4_frame_48_domain.png filter=lfs diff=lfs merge=lfs -textexamples/rgb/camera_0b2396756adf4a76bbb985af92f534af_office_7_frame_7_domain.png filter=lfs diff=lfs merge=lfs -textexamples/rgb/camera_0c2610e800274e329f5fac53402855ef_office_32_frame_4_domain.png filter=lfs diff=lfs merge=lfs -textexamples/rgb/camera_0c2610e800274e329f5fac53402855ef_office_32_frame_6_domain.png filter=lfs diff=lfs merge=lfs -textexamples/rgb/camera_0b2396756adf4a76bbb985af92f534af_office_7_frame_5_domain.png filter=lfs diff=lfs merge=lfs -textexamples/rgb/camera_0b2396756adf4a76bbb985af92f534af_office_7_frame_0_domain.png filter=lfs diff=lfs merge=lfs -textexamples/rgb/camera_0b2396756adf4a76bbb985af92f534af_office_7_frame_3_domain.png filter=lfs diff=lfs merge=lfs -textexamples/rgb/camera_0b2396756adf4a76bbb985af92f534af_office_7_frame_6_domain.png filter=lfs diff=lfs merge=lfs -textexamples/rgb/camera_0c2610e800274e329f5fac53402855ef_office_32_frame_0_domain.png filter=lfs diff=lfs merge=lfs -textexamples/rgb/camera_0c2610e800274e329f5fac53402855ef_office_32_frame_10_domain.png filter=lfs diff=lfs merge=lfs -textexamples/rgb/camera_0c2610e800274e329f5fac53402855ef_office_32_frame_7_domain.png filter=lfs diff=lfs merge=lfs -textexamples/rgb/camera_0a529ee09fc04037831902b83073862b_office_4_frame_52_domain.png filter=lfs diff=lfs merge=lfs -textexamples/rgb/camera_0b2396756adf4a76bbb985af92f534af_office_7_frame_2_domain.png filter=lfs diff=lfs merge=lfs -textexamples/rgb/camera_0c2610e800274e329f5fac53402855ef_office_32_frame_1_domain.png filter=lfs diff=lfs merge=lfs -textexamples/rgb/camera_0a529ee09fc04037831902b83073862b_office_4_frame_50_domain.png filter=lfs diff=lfs merge=lfs -textexamples/rgb/camera_0a529ee09fc04037831902b83073862b_office_4_frame_51_domain.png filter=lfs diff=lfs merge=lfs -textexamples/rgb/camera_0a529ee09fc04037831902b83073862b_office_4_frame_45_domain.png filter=lfs diff=lfs merge=lfs -textexamples/depth/camera_0a529ee09fc04037831902b83073862b_office_4_frame_49_domain.png filter=lfs diff=lfs merge=lfs -textexamples/depth/camera_0a529ee09fc04037831902b83073862b_office_4_frame_53_domain.png filter=lfs diff=lfs merge=lfs -textexamples/depth/camera_0b2396756adf4a76bbb985af92f534af_office_7_frame_3_domain.png filter=lfs diff=lfs merge=lfs -textexamples/depth/camera_0b2396756adf4a76bbb985af92f534af_office_7_frame_6_domain.png filter=lfs diff=lfs merge=lfs -textexamples/depth/camera_0c2610e800274e329f5fac53402855ef_office_32_frame_0_domain.png filter=lfs diff=lfs merge=lfs -textexamples/depth/camera_0b2396756adf4a76bbb985af92f534af_office_7_frame_8_domain.png filter=lfs diff=lfs merge=lfs -textexamples/depth/camera_0c2610e800274e329f5fac53402855ef_office_32_frame_3_domain.png filter=lfs diff=lfs merge=lfs -textexamples/depth/camera_0c2610e800274e329f5fac53402855ef_office_32_frame_8_domain.png filter=lfs diff=lfs merge=lfs -textexamples/depth/camera_0a529ee09fc04037831902b83073862b_office_4_frame_46_domain.png filter=lfs diff=lfs merge=lfs -textexamples/depth/camera_0a529ee09fc04037831902b83073862b_office_4_frame_52_domain.png filter=lfs diff=lfs merge=lfs -textexamples/depth/camera_0b2396756adf4a76bbb985af92f534af_office_7_frame_5_domain.png filter=lfs diff=lfs merge=lfs -textexamples/depth/camera_0c2610e800274e329f5fac53402855ef_office_32_frame_4_domain.png filter=lfs diff=lfs merge=lfs -textexamples/depth/camera_0b2396756adf4a76bbb985af92f534af_office_7_frame_0_domain.png filter=lfs diff=lfs merge=lfs -textexamples/depth/camera_0b2396756adf4a76bbb985af92f534af_office_7_frame_10_domain.png filter=lfs diff=lfs merge=lfs -textexamples/depth/camera_4e7d4edf7c2a40ae93437d1fbde22043_office_6_frame_47_domain.png filter=lfs diff=lfs merge=lfs -textexamples/depth/camera_0a529ee09fc04037831902b83073862b_office_4_frame_47_domain.png filter=lfs diff=lfs merge=lfs -textexamples/depth/camera_0b2396756adf4a76bbb985af92f534af_office_7_frame_4_domain.png filter=lfs diff=lfs merge=lfs -textexamples/depth/camera_0c2610e800274e329f5fac53402855ef_office_32_frame_5_domain.png filter=lfs diff=lfs merge=lfs -textexamples/depth/camera_0c2610e800274e329f5fac53402855ef_office_32_frame_9_domain.png filter=lfs diff=lfs merge=lfs -textexamples/depth/camera_0a529ee09fc04037831902b83073862b_office_4_frame_48_domain.png filter=lfs diff=lfs merge=lfs -textexamples/depth/camera_0a529ee09fc04037831902b83073862b_office_4_frame_50_domain.png filter=lfs diff=lfs merge=lfs -textexamples/depth/camera_0a529ee09fc04037831902b83073862b_office_4_frame_51_domain.png filter=lfs diff=lfs merge=lfs -textexamples/depth/camera_0b2396756adf4a76bbb985af92f534af_office_7_frame_1_domain.png filter=lfs diff=lfs merge=lfs -textexamples/depth/camera_0b2396756adf4a76bbb985af92f534af_office_7_frame_9_domain.png filter=lfs diff=lfs merge=lfs -textexamples/depth/camera_0c2610e800274e329f5fac53402855ef_office_32_frame_10_domain.png filter=lfs diff=lfs merge=lfs -textexamples/depth/camera_0c2610e800274e329f5fac53402855ef_office_32_frame_6_domain.png filter=lfs diff=lfs merge=lfs -textexamples/depth/camera_0c2610e800274e329f5fac53402855ef_office_32_frame_2_domain.png filter=lfs diff=lfs merge=lfs -textexamples/depth/camera_0a529ee09fc04037831902b83073862b_office_4_frame_45_domain.png filter=lfs diff=lfs merge=lfs -textexamples/depth/camera_0b2396756adf4a76bbb985af92f534af_office_7_frame_2_domain.png filter=lfs diff=lfs merge=lfs -textexamples/depth/camera_0b2396756adf4a76bbb985af92f534af_office_7_frame_7_domain.png filter=lfs diff=lfs merge=lfs -textexamples/depth/camera_0c2610e800274e329f5fac53402855ef_office_32_frame_1_domain.png filter=lfs diff=lfs merge=lfs -textexamples/depth/camera_0c2610e800274e329f5fac53402855ef_office_32_frame_7_domain.png filter=lfs diff=lfs merge=lfs -textclasscolors.png filter=lfs diff=lfs merge=lfs -text
1234567---title: M3Lemoji: 🐢colorFrom: pinkcolorTo: graysdk: gradiosdk_version: 3.23.01234567---title: M3Lemoji: 📚colorFrom: purplecolorTo: graysdk: gradiosdk_version: 3.23.0
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161import torchimport torch.nn as nnimport gradio as grimport numpy as npimport osimport randomimport pickle as pklfrom models.segmentation_models.linearfusemaskedconsmixbatch.segformer import LinearFusionMaskedConsistencyMixBatchfrom models.segmentation_models.linearfuse.segformer import WeTrLinearFusionfrom datasets.preprocessors import RGBDValPrefrom utils.constants import Constants as C
class Arguments: def __init__(self, ratio): self.ratio = ratio self.masking_ratio = 1.0
colors = pkl.load(open('./colors.pkl', 'rb'))args = Arguments(ratio = 0.8)
mtmodel = WeTrLinearFusion("mit_b2", args, num_classes=13, pretrained=False)mtmodelpath = './checkpoints/sid_1-500_mtteacher.pth'mtmodel.load_state_dict(torch.load(mtmodelpath, map_location=torch.device('cpu')))mtmodel.eval()
m3lmodel = LinearFusionMaskedConsistencyMixBatch("mit_b2", args, num_classes=13, pretrained=False)m3lmodelpath = './checkpoints/sid_1-500_m3lteacher.pth'm3lmodel.load_state_dict(torch.load(m3lmodelpath, map_location=torch.device('cpu')))m3lmodel.eval()
class MaskStudentTeacher(nn.Module): def __init__(self, student, teacher, ema_alpha, mode = 'train'): super(MaskStudentTeacher, self).__init__() self.student = student self.teacher = teacher self.teacher = self._detach_teacher(self.teacher) self.ema_alpha = ema_alpha self.mode = mode def forward(self, data, student = True, teacher = True, mask = False, range_batches_to_mask = None, **kwargs): ret = [] if student: if self.mode == 'train': ret.append(self.student(data, mask = mask, range_batches_to_mask = range_batches_to_mask, **kwargs)) elif self.mode == 'val': ret.append(self.student(data, mask = False, **kwargs)) else: raise Exception('Mode not supported') if teacher: ret.append(self.teacher(data, mask = False, **kwargs)) #Not computing loss for teacher ever but passing the results as if loss was also returned return ret def _detach_teacher(self, model): for param in model.parameters(): param.detach_() return model def update_teacher_models(self, global_step): alpha = min(1 - 1 / (global_step + 1), self.ema_alpha) for ema_param, param in zip(self.teacher.parameters(), self.student.parameters()): ema_param.data.mul_(alpha).add_(1 - alpha, param.data) return def copy_student_to_teacher(self): for ema_param, param in zip(self.teacher.parameters(), self.student.parameters()): ema_param.data.mul_(0).add_(param.data) return def get_params(self): student_params = self.student.get_params() teacher_params = self.teacher.get_params() return student_params
def preprocess_data(rgb, depth, dataset_settings): #RGB: np.array, RGB #Depth: np.array, minmax normalized, *255 preprocess = RGBDValPre(C.pytorch_mean, C.pytorch_std, dataset_settings) rgb, depth = preprocess(rgb, depth) if rgb is not None: rgb = torch.from_numpy(np.ascontiguousarray(rgb)).float() if depth is not None: depth = torch.from_numpy(np.ascontiguousarray(depth)).float() return rgb, depth
def visualize(colors, pred, num_classes, dataset_settings): pred = pred.transpose(1, 2, 0) predvis = np.zeros((dataset_settings['orig_height'], dataset_settings['orig_width'], 3)) for i in range(num_classes): color = colors[i] predvis = np.where(pred == i, color, predvis) predvis /= 255.0 predvis = predvis[:,:,::-1] return predvis
def predict(rgb, depth, check): dataset_settings = {} dataset_settings['image_height'], dataset_settings['image_width'] = 540, 540 dataset_settings['orig_height'], dataset_settings['orig_width'] = 540,540 rgb, depth = preprocess_data(rgb, depth, dataset_settings) if rgb is not None: rgb = rgb.unsqueeze(dim = 0) if depth is not None: depth = depth.unsqueeze(dim = 0) ret = [None, None, './classcolors.png'] if "Mean Teacher" in check: if rgb is None: rgb = torch.zeros_like(depth) if depth is None: depth = torch.zeros_like(rgb) scores = mtmodel([rgb, depth])[2] scores = torch.nn.functional.interpolate(scores, size = (dataset_settings["orig_height"], dataset_settings["orig_width"]), mode = 'bilinear', align_corners = True) prob = scores.detach() _, pred = torch.max(prob, dim=1) pred = pred.numpy() predvis = visualize(colors, pred, num_classes=13, dataset_settings=dataset_settings) ret[0] = predvis if "M3L" in check: mask = False masking_branch = None if rgb is None: mask = True masking_branch = 0 if depth is None: mask = True masking_branch = 1 scores = m3lmodel([rgb, depth], mask = mask, masking_branch = masking_branch)[2] scores = torch.nn.functional.interpolate(scores, size = (dataset_settings["orig_height"], dataset_settings["orig_width"]), mode = 'bilinear', align_corners = True) prob = scores.detach() _, pred = torch.max(prob, dim=1) pred = pred.numpy() predvis = visualize(colors, pred, num_classes=13, dataset_settings=dataset_settings) ret[1] = predvis return ret
imgs = os.listdir('./examples/rgb')random.shuffle(imgs)examples = []for img in imgs: examples.append([ './examples/rgb/'+img, './examples/depth/'+img, ["M3L", "Mean Teacher"] ])
with gr.Blocks() as demo: with gr.Row(): rgbinput = gr.Image(label="RGB Input").style(height=256, width=256) depthinput = gr.Image(label="Depth Input").style(height=256, width=256) with gr.Row(): modelcheck = gr.CheckboxGroup(["Mean Teacher", "M3L"], label="Predictions from", info="Predict using model trained with:") with gr.Row(): submit_btn = gr.Button("Submit") with gr.Row(): mtoutput = gr.Image(label="Mean Teacher Output").style(height=384, width=384) m3loutput = gr.Image(label="M3L Output").style(height=384, width=384) classnameouptut = gr.Image(label="Classes").style(height=384, width=384) with gr.Row(): examplesRow = gr.Examples(examples=examples, examples_per_page=10, inputs=[rgbinput, depthinput, modelcheck]) submit_btn.click(fn = predict, inputs = [rgbinput, depthinput, modelcheck], outputs = [mtoutput, m3loutput, classnameouptut])
demo.launch()123version https://git-lfs.github.com/spec/v1oid sha256:d5a23d7e2697b44b18e368e01353c328b13055a05a1cb0946ffb95b692d6facdsize 99192724123version https://git-lfs.github.com/spec/v1oid sha256:7eb24d6275e15376c40ec526281d550e4842ffa71aaa7af58fea54cbf56c2eebsize 99186911123version https://git-lfs.github.com/spec/v1oid sha256:3c03050cb753b0802781f0ce92893ac22129c15724dd4ece6f4b9b4a352db591size 2342123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128import torchimport torch.utils.data as dataimport numpy as npimport cv2from PIL import Imagefrom utils.img_utils import pad_image_to_shape
class BaseDataset(data.Dataset):
def __init__(self, dataset_settings, mode, unsupervised): self._mode = mode self.unsupervised = unsupervised self._rgb_path = dataset_settings['rgb_root'] self._depth_path = dataset_settings['depth_root'] self._gt_path = dataset_settings['gt_root'] self._train_source = dataset_settings['train_source'] self._eval_source = dataset_settings['eval_source'] self.modalities = dataset_settings['modalities'] # self._file_length = dataset_settings['max_samples'] self._required_length = dataset_settings['required_length'] self._file_names = self._get_file_names(mode) self.model_input_shape = (dataset_settings['image_height'], dataset_settings['image_width']) def __len__(self): if self._required_length is not None: return self._required_length return len(self._file_names) # when model == "val"
def _get_file_names(self, mode): assert mode in ['train', 'val'] source = self._train_source if mode == "val": source = self._eval_source
file_names = [] with open(source) as f: files = f.readlines()
for item in files: names = self._process_item_names(item) file_names.append(names) if mode == "val": return file_names elif self._required_length <= len(file_names): return file_names[:self._required_length] else: return self._construct_new_file_names(file_names, self._required_length)
def _construct_new_file_names(self, file_names, length): assert isinstance(length, int) files_len = len(file_names)
new_file_names = file_names * (length // files_len) #length % files_len items remaining
rand_indices = torch.randperm(files_len).tolist() new_indices = rand_indices[:length % files_len]
new_file_names += [file_names[i] for i in new_indices]
return new_file_names
def _process_item_names(self, item): item = item.strip() item = item.split('\t') num_modalities = len(self.modalities) num_items = len(item) names = {} if not self.unsupervised: assert num_modalities + 1 == num_items, f"Number of modalities and number of items in file name don't match, len(modalities) = {num_modalities} and len(item) = {num_items}" + item[0] for i, modality in enumerate(self.modalities): names[modality] = item[i] names['gt'] = item[-1] else: assert num_modalities == num_items, f"Number of modalities and number of items in file name don't match, len(modalities) = {num_modalities} and len(item) = {num_items}" for i, modality in enumerate(self.modalities): names[modality] = item[i] names['gt'] = None
return names
def _open_rgb(self, rgb_path, dtype = None): bgr = cv2.imread(rgb_path, cv2.IMREAD_COLOR) #cv2 reads in BGR format, HxWxC rgb = np.array(cv2.cvtColor(bgr, cv2.COLOR_BGR2RGB), dtype=dtype) #Pretrained PyTorch model accepts image in RGB return rgb
def _open_depth(self, depth_path, dtype = None): #returns in HxWx3 with the same image in all channels img_arr = np.array(Image.open(depth_path)) if len(img_arr.shape) == 2: # grayscale img_arr = np.array(np.tile(img_arr, [3, 1, 1]).transpose(1, 2, 0), dtype = dtype) img_arr = (img_arr - img_arr.min()) * 255.0 / (img_arr.max() - img_arr.min()) return img_arr def _open_depth_tf_nyu(self, depth_path, dtype = None): #returns in HxWx3 with the same image in all channels img_arr = np.array(Image.open(depth_path)) if len(img_arr.shape) == 2: # grayscale img_arr = np.tile(img_arr, [3, 1, 1]).transpose(1, 2, 0) return img_arr
def _open_gt(self, gt_path, dtype = None): return np.array(cv2.imread(gt_path, cv2.IMREAD_GRAYSCALE), dtype=dtype)
def slide_over_image(self, img, crop_size, stride_rate): H, W, C = img.shape long_size = H if H > W else W output = [] if long_size <= min(crop_size[0], crop_size[1]): raise Exception("Crop size is greater than the image size itself. Not handeled right now") else: stride_0 = int(np.ceil(crop_size[0] * stride_rate)) stride_1 = int(np.ceil(crop_size[1] * stride_rate)) r_grid = int(np.ceil((H - crop_size[0]) / stride_0)) + 1 c_grid = int(np.ceil((W - crop_size[1]) / stride_1)) + 1
for grid_yidx in range(r_grid): for grid_xidx in range(c_grid): s_x = grid_xidx * stride_1 s_y = grid_yidx * stride_0 e_x = min(s_x + crop_size[1], W) e_y = min(s_y + crop_size[0], H) s_x = e_x - crop_size[1] s_y = e_y - crop_size[0] img_sub = img[s_y:e_y, s_x: e_x, :] img_sub, margin = pad_image_to_shape(img_sub, crop_size, cv2.BORDER_CONSTANT, value=0) output.append((img_sub, np.array([s_y, e_y, s_x, e_x]), margin)) return output12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667import torchimport numpy as np
from datasets.base_dataset import BaseDataset
class CityScapesSunRGBD(BaseDataset):
def __init__(self, dataset_settings, mode, unsupervised, preprocess, sliding = False, stride_rate = None): super(CityScapesSunRGBD, self).__init__(dataset_settings, mode, unsupervised) self.preprocess = preprocess self.sliding = sliding self.stride_rate = stride_rate if self.sliding and self._mode == 'train': print("Ensure correct preprocessing is being done!")
def __getitem__(self, index): # if self._file_length is not None: # names = self._construct_new_file_names(self._file_length)[index] # else: # names = self._file_names[index] names = self._file_names[index] rgb_path = self._rgb_path+names['rgb'] depth_path = self._rgb_path+names['depth'] if not self.unsupervised: gt_path = self._gt_path+names['gt'] item_name = names['rgb'].split("/")[-1].split(".")[0]
rgb = self._open_rgb(rgb_path) depth = self._open_depth(depth_path) gt = None if not self.unsupervised: gt = self._open_gt(gt_path)
if not self.sliding: if self.preprocess is not None: rgb, depth, gt = self.preprocess(rgb, depth, gt)
if self._mode in ['train', 'val']: rgb = torch.from_numpy(np.ascontiguousarray(rgb)).float() depth = torch.from_numpy(np.ascontiguousarray(depth)).float() if gt is not None: gt = torch.from_numpy(np.ascontiguousarray(gt)).long() else: raise Exception(f"{self._mode} not supported in CityScapesSunRGB") # output_dict = dict(rgb=rgb, fn=str(item_name), # n=len(self._file_names)) output_dict = dict(data=[rgb, depth], name = item_name) if gt is not None: output_dict['gt'] = gt return output_dict else: sliding_ouptut = self.slide_over_image(rgb, self.model_input_shape, self.stride_rate) output_dict = {} if self._mode in ['train', 'val']: if gt is not None: gt = torch.from_numpy(np.ascontiguousarray(gt)).long() output_dict['gt'] = gt output_dict['sliding_output'] = [] for img_sub, pos, margin in sliding_ouptut: if self.preprocess is not None: img_sub, _ = self.preprocess(img_sub, None) img_sub = torch.from_numpy(np.ascontiguousarray(img_sub)).float() output_dict['sliding_output'].append(([img_sub], pos, margin)) return output_dict123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146import torchfrom torch.utils.data import DataLoaderfrom datasets.citysundepth import CityScapesSunDepthfrom datasets.citysunrgb import CityScapesSunRGBfrom datasets.citysunrgbd import CityScapesSunRGBDfrom datasets.preprocessors import DepthTrainPre, DepthValPre, NYURGBDTrainPre, NYURGBDValPre, RGBDTrainPre, RGBDValPre, RGBTrainPre, RGBValPrefrom datasets.tfnyu import TFNYUfrom utils.constants import Constants as C
def get_dataset(args): datasetClass = None if args.data == "nyudv2": return TFNYU if args.data == "city" or args.data == "sunrgbd" or args.data == 'stanford_indoor': if len(args.modalities) == 1 and args.modalities[0] == 'rgb': datasetClass = CityScapesSunRGB elif len(args.modalities) == 1 and args.modalities[0] == 'depth': datasetClass = CityScapesSunDepth elif len(args.modalities) == 2 and args.modalities[0] == 'rgb' and args.modalities[1] == 'depth': datasetClass = CityScapesSunRGBD else: raise Exception(f"{args.modalities} not configured in get_dataset function.") else: raise Exception(f"{args.data} not configured in get_dataset function.") return datasetClass
def get_preprocessors(args, dataset_settings, mode): if args.data == "nyudv2" and len(args.modalities) == 2 and args.modalities[0] == 'rgb' and args.modalities[1] == 'depth': if mode == 'train': return NYURGBDTrainPre(C.pytorch_mean, C.pytorch_std, dataset_settings) elif mode == 'val': return NYURGBDValPre(C.pytorch_mean, C.pytorch_std, dataset_settings)
if len(args.modalities) == 1 and args.modalities[0] == 'rgb': if mode == 'train': return RGBTrainPre(C.pytorch_mean, C.pytorch_std, dataset_settings) elif mode == 'val': return RGBValPre(C.pytorch_mean, C.pytorch_std, dataset_settings) else: return Exception("%s mode not defined" % mode) elif len(args.modalities) == 1 and args.modalities[0] == 'depth': if mode == 'train': return DepthTrainPre(dataset_settings) elif mode == 'val': return DepthValPre(dataset_settings) else: return Exception("%s mode not defined" % mode) elif len(args.modalities) == 2 and args.modalities[0] == 'rgb' and args.modalities[1] == 'depth': if mode == 'train': return RGBDTrainPre(C.pytorch_mean, C.pytorch_std, dataset_settings) elif mode == 'val': return RGBDValPre(C.pytorch_mean, C.pytorch_std, dataset_settings) else: return Exception("%s mode not defined" % mode) else: raise Exception("%s not configured for preprocessing" % args.modalities)
def get_train_loader(datasetClass, args, train_source, unsupervised = False): dataset_settings = {'rgb_root': args.rgb_root, 'gt_root': args.gt_root, 'depth_root': args.depth_root, 'train_source': train_source, 'eval_source': args.eval_source, 'required_length': args.total_train_imgs, #Every dataloader will have Total Train Images / batch size iterations to be consistent # 'max_samples': args.max_samples, #Every dataloader will have Total Train Images / batch size iterations to be consistent 'train_scale_array': args.train_scale_array, 'image_height': args.image_height, 'image_width': args.image_width, 'modalities': args.modalities}
preprocessing = get_preprocessors(args, dataset_settings, "train") train_dataset = datasetClass(dataset_settings, "train", unsupervised, preprocessing) train_sampler = torch.utils.data.distributed.DistributedSampler(train_dataset, num_replicas = args.world_size, rank = args.rank) if unsupervised and "unsup_batch_size" in args: batch_size = args.unsup_batch_size else: batch_size = args.batch_size train_loader = DataLoader(train_dataset, batch_size = args.batch_size // args.world_size, num_workers = args.num_workers, drop_last = True, shuffle = False, sampler = train_sampler) return train_loader def get_val_loader(datasetClass, args): dataset_settings = {'rgb_root': args.rgb_root, 'gt_root': args.gt_root, 'depth_root': args.depth_root, 'train_source': None, 'eval_source': args.eval_source, 'required_length': None, 'max_samples': None, 'train_scale_array': args.train_scale_array, 'image_height': args.image_height, 'image_width': args.image_width, 'modalities': args.modalities} if args.data == 'sunrgbd': eval_sources = [] for shape in ['427_561', '441_591', '530_730', '531_681']: eval_sources.append(dataset_settings['eval_source'].split('.')[0] + '_' + shape + '.txt') else: eval_sources = [args.eval_source]
preprocessing = get_preprocessors(args, dataset_settings, "val") if args.sliding_eval: collate_fn = _sliding_collate_fn else: collate_fn = None
val_loaders = [] for eval_source in eval_sources: dataset_settings['eval_source'] = eval_source val_dataset = datasetClass(dataset_settings, "val", False, preprocessing, args.sliding_eval, args.stride_rate) if args.rank is not None: #DDP Evaluation val_sampler = torch.utils.data.distributed.DistributedSampler(val_dataset, num_replicas = args.world_size, rank = args.rank) batch_size = args.val_batch_size // args.world_size else: #DP Evaluation val_sampler = None batch_size = args.val_batch_size
val_loader = DataLoader(val_dataset, batch_size = batch_size, num_workers = 4, drop_last = False, shuffle = False, collate_fn = collate_fn, sampler = val_sampler) val_loaders.append(val_loader) return val_loaders
def _sliding_collate_fn(batch): gt = torch.stack([b['gt'] for b in batch]) sliding_output = [] num_modalities = len(batch[0]['sliding_output'][0][0]) for i in range(len(batch[0]['sliding_output'])): #i iterates over positions imgs = [torch.stack([b['sliding_output'][i][0][m] for b in batch]) for m in range(num_modalities)] pos = batch[0]['sliding_output'][i][1] pos_compare = [(b['sliding_output'][i][1] == pos).all() for b in batch] assert all(pos_compare), f"Position not same for all points in the batch: {pos_compare}, {[b['sliding_output'][i][1] for b in batch]}" margin = batch[0]['sliding_output'][i][2] margin_compare = [(b['sliding_output'][i][2] == margin).all() for b in batch] assert all(margin_compare), f"Margin not same for all points in the batch: {margin_compare}, {[b['sliding_output'][i][2] for b in batch]}" sliding_output.append((imgs, pos, margin)) return {"gt": gt, "sliding_output": sliding_output}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144from utils.img_utils import normalizedepth, random_crop_pad_to_shape, random_mirror, random_scale, normalize, resizedepth, resizergb, tfnyu_normalizedepth
class RGBTrainPre(object): def __init__(self, pytorch_mean, pytorch_std, dataset_settings): self.pytorch_mean = pytorch_mean self.pytorch_std = pytorch_std self.train_scale_array = dataset_settings['train_scale_array'] self.crop_size = (dataset_settings['image_height'], dataset_settings['image_width'])
def __call__(self, rgb, gt): transformed_dict = random_mirror({"rgb":rgb, "gt":gt}) if self.train_scale_array is not None: transformed_dict, _ = random_scale(transformed_dict, self.train_scale_array, (rgb.shape[0], rgb.shape[1]))
transformed_dict, _ = random_crop_pad_to_shape(transformed_dict, transformed_dict['rgb'].shape[:2], self.crop_size) #Makes gt HxWx1 rgb = transformed_dict['rgb'] gt = transformed_dict['gt'] rgb = normalize(rgb, self.pytorch_mean, self.pytorch_std)
rgb = rgb.transpose(2, 0, 1) #Brings the channel dimension in the top. Final output = CxHxW return rgb, gt
class RGBValPre(object): def __init__(self, pytorch_mean, pytorch_std, dataset_settings): self.pytorch_mean = pytorch_mean self.pytorch_std = pytorch_std self.model_input_shape = (dataset_settings['image_height'], dataset_settings['image_width'])
def __call__(self, rgb, gt): rgb = resizergb(rgb, self.model_input_shape) rgb = normalize(rgb, self.pytorch_mean, self.pytorch_std) rgb = rgb.transpose(2, 0, 1) #Brings the channel dimension in the top. Final output = CxHxW return rgb, gt
class RGBDTrainPre(object): def __init__(self, pytorch_mean, pytorch_std, dataset_settings): self.pytorch_mean = pytorch_mean self.pytorch_std = pytorch_std self.train_scale_array = dataset_settings['train_scale_array'] self.crop_size = (dataset_settings['image_height'], dataset_settings['image_width'])
def __call__(self, rgb, depth, gt): transformed_dict = random_mirror({"rgb":rgb, "depth": depth, "gt":gt}) if self.train_scale_array is not None: transformed_dict, _ = random_scale(transformed_dict, self.train_scale_array, (rgb.shape[0], rgb.shape[1]))
transformed_dict, _ = random_crop_pad_to_shape(transformed_dict, transformed_dict['rgb'].shape[:2], self.crop_size) #Makes gt HxWx1 rgb = transformed_dict['rgb'] depth = transformed_dict['depth'] gt = transformed_dict['gt'] rgb = normalize(rgb, self.pytorch_mean, self.pytorch_std) depth = normalizedepth(depth) rgb = rgb.transpose(2, 0, 1) #Brings the channel dimension in the top. Final output = CxHxW depth = depth.transpose(2, 0, 1) #Brings the channel dimension in the top. Final output = CxHxW return rgb, depth, gt
class RGBDValPre(object): def __init__(self, pytorch_mean, pytorch_std, dataset_settings): self.pytorch_mean = pytorch_mean self.pytorch_std = pytorch_std self.model_input_shape = (dataset_settings['image_height'], dataset_settings['image_width'])
def __call__(self, rgb, depth): if rgb is not None: rgb = resizergb(rgb, self.model_input_shape) rgb = normalize(rgb, self.pytorch_mean, self.pytorch_std) rgb = rgb.transpose(2, 0, 1) #Brings the channel dimension in the top. Final output = CxHxW if depth is not None: depth = resizedepth(depth, self.model_input_shape) depth = normalizedepth(depth) depth = depth.transpose(2, 0, 1) #Brings the channel dimension in the top. Final output = CxHxW return rgb, depth
class NYURGBDTrainPre(object): def __init__(self, pytorch_mean, pytorch_std, dataset_settings): self.pytorch_mean = pytorch_mean self.pytorch_std = pytorch_std self.train_scale_array = dataset_settings['train_scale_array'] self.crop_size = (dataset_settings['image_height'], dataset_settings['image_width'])
def __call__(self, rgb, depth, gt): transformed_dict = random_mirror({"rgb":rgb, "depth": depth, "gt":gt}) if self.train_scale_array is not None: transformed_dict, _ = random_scale(transformed_dict, self.train_scale_array, (rgb.shape[0], rgb.shape[1]))
transformed_dict, _ = random_crop_pad_to_shape(transformed_dict, transformed_dict['rgb'].shape[:2], self.crop_size) #Makes gt HxWx1 rgb = transformed_dict['rgb'] depth = transformed_dict['depth'] gt = transformed_dict['gt'] rgb = normalize(rgb, self.pytorch_mean, self.pytorch_std) depth = tfnyu_normalizedepth(depth) rgb = rgb.transpose(2, 0, 1) #Brings the channel dimension in the top. Final output = CxHxW depth = depth.transpose(2, 0, 1) #Brings the channel dimension in the top. Final output = CxHxW return rgb, depth, gt
class NYURGBDValPre(object): def __init__(self, pytorch_mean, pytorch_std, dataset_settings): self.pytorch_mean = pytorch_mean self.pytorch_std = pytorch_std self.model_input_shape = (dataset_settings['image_height'], dataset_settings['image_width'])
def __call__(self, rgb, depth, gt): rgb = resizergb(rgb, self.model_input_shape) depth = resizedepth(depth, self.model_input_shape) rgb = normalize(rgb, self.pytorch_mean, self.pytorch_std) depth = tfnyu_normalizedepth(depth) rgb = rgb.transpose(2, 0, 1) #Brings the channel dimension in the top. Final output = CxHxW depth = depth.transpose(2, 0, 1) #Brings the channel dimension in the top. Final output = CxHxW return rgb, depth, gt
class DepthTrainPre(object): def __init__(self, dataset_settings): self.train_scale_array = dataset_settings['train_scale_array'] self.crop_size = (dataset_settings['image_height'], dataset_settings['image_width'])
def __call__(self, depth, gt): transformed_dict = random_mirror({"depth": depth, "gt":gt}) if self.train_scale_array is not None: transformed_dict, _ = random_scale(transformed_dict, self.train_scale_array, (depth.shape[0], depth.shape[1]))
transformed_dict, _ = random_crop_pad_to_shape(transformed_dict, transformed_dict['depth'].shape[:2], self.crop_size) #Makes gt HxWx1 depth = transformed_dict['depth'] gt = transformed_dict['gt'] depth = normalizedepth(depth) depth = depth.transpose(2, 0, 1) #Brings the channel dimension in the top. Final output = CxHxW return depth, gt
class DepthValPre(object): def __init__(self, dataset_settings): self.model_input_shape = (dataset_settings['image_height'], dataset_settings['image_width'])
def __call__(self, depth, gt): depth = resizedepth(depth, self.model_input_shape) depth = normalizedepth(depth) depth = depth.transpose(2, 0, 1) #Brings the channel dimension in the top. Final output = CxHxW return depth, gt.DS_StoreAdded
.gitattributes+67
README.md+2-2
app.pyAdded+161
arial.ttfAdded
checkpoints/sid_1-500_m3lteacher.pthAdded+3
checkpoints/sid_1-500_mtteacher.pthAdded+3
classcolors.pngAdded

Large File Pointer Details
- SHA256: 54ab7bebebd4982336252535488ad47d42751c06652eb4c47fb0af47c7880aba
- Pointer size: 130 Bytes
- Size of remote file: 38.4 kB
colors.pklAdded+3
datasets/__init__.pyAdded
datasets/__pycache__/__init__.cpython-36.pycAdded
datasets/__pycache__/__init__.cpython-38.pycAdded
datasets/__pycache__/__init__.cpython-39.pycAdded
datasets/__pycache__/base_dataset.cpython-36.pycAdded
datasets/__pycache__/base_dataset.cpython-38.pycAdded
datasets/__pycache__/base_dataset.cpython-39.pycAdded
datasets/__pycache__/citysundepth.cpython-36.pycAdded
datasets/__pycache__/citysundepth.cpython-39.pycAdded
datasets/__pycache__/citysunrgb.cpython-36.pycAdded
datasets/__pycache__/citysunrgb.cpython-38.pycAdded
datasets/__pycache__/citysunrgb.cpython-39.pycAdded
datasets/__pycache__/citysunrgbd.cpython-36.pycAdded
datasets/__pycache__/citysunrgbd.cpython-38.pycAdded
datasets/__pycache__/get_dataset.cpython-36.pycAdded
datasets/__pycache__/get_dataset.cpython-39.pycAdded
datasets/__pycache__/preprocessors.cpython-36.pycAdded
datasets/__pycache__/preprocessors.cpython-38.pycAdded
datasets/__pycache__/tfnyu.cpython-36.pycAdded
datasets/base_dataset.pyAdded+128
datasets/citysunrgbd.pyAdded+67
datasets/get_dataset.pyAdded+146
datasets/preprocessors.pyAdded+144
examples/.DS_StoreAdded
examples/depth/camera_0a529ee09fc04037831902b83073862b_office_4_frame_45_domain.pngAdded

Large File Pointer Details
- SHA256: 55885dc912a9accfa7bc492e065b323b1a52f82a5117b41fc8efd4a2b12adaf9
- Pointer size: 130 Bytes
- Size of remote file: 83.6 kB
examples/depth/camera_0a529ee09fc04037831902b83073862b_office_4_frame_46_domain.pngAdded

Large File Pointer Details
- SHA256: 2bf577c404957a98fedd04fb458c4361e181b735c1eeef60939c643b0c3a60a3
- Pointer size: 130 Bytes
- Size of remote file: 64.6 kB
examples/depth/camera_0a529ee09fc04037831902b83073862b_office_4_frame_47_domain.pngAdded

Large File Pointer Details
- SHA256: 96cf8016c66212f327fbda0163b8b03a2daf3c7e6c28ae02faf83bd2e3f11cdb
- Pointer size: 131 Bytes
- Size of remote file: 233 kB
examples/depth/camera_0a529ee09fc04037831902b83073862b_office_4_frame_48_domain.pngAdded

Large File Pointer Details
- SHA256: d11dbca1fa89c97e1eaf8302dd37caf49cbe94f9fd6d8331c61c29d2f786c4b3
- Pointer size: 130 Bytes
- Size of remote file: 77.4 kB
examples/depth/camera_0a529ee09fc04037831902b83073862b_office_4_frame_49_domain.pngAdded

Large File Pointer Details
- SHA256: a56e0ea6823606d15bf04c2a642be8df5485883f5be2823eb020d7ba6f2802f1
- Pointer size: 131 Bytes
- Size of remote file: 276 kB
examples/depth/camera_0a529ee09fc04037831902b83073862b_office_4_frame_50_domain.pngAdded

Large File Pointer Details
- SHA256: 98b9da600b500edd19c89cd0ca0b454a49aa964928d88a7836b3abcf04425cb6
- Pointer size: 131 Bytes
- Size of remote file: 194 kB
examples/depth/camera_0a529ee09fc04037831902b83073862b_office_4_frame_51_domain.pngAdded

Large File Pointer Details
- SHA256: 36db03a470d9826b6dfdd49a804c3d23434ab88d231841c2afb74ef33e69c4a2
- Pointer size: 131 Bytes
- Size of remote file: 169 kB
examples/depth/camera_0a529ee09fc04037831902b83073862b_office_4_frame_52_domain.pngAdded

Large File Pointer Details
- SHA256: 411bc3b1f22ddc361cf8c89cec596f12818e930a9cb3d9e39bfb509c1b9e46f4
- Pointer size: 131 Bytes
- Size of remote file: 193 kB
examples/depth/camera_0a529ee09fc04037831902b83073862b_office_4_frame_53_domain.pngAdded

Large File Pointer Details
- SHA256: 0004251bc5fc96e0df7eeb677444aa50b8d8d569175c408ce48b71792c32b64d
- Pointer size: 131 Bytes
- Size of remote file: 256 kB
examples/depth/camera_0b2396756adf4a76bbb985af92f534af_office_7_frame_0_domain.pngAdded

Large File Pointer Details
- SHA256: 9aabf2840f638a9c52ae8151cb3677c8786e2350574ecf21c59f3fd44fe9bf91
- Pointer size: 131 Bytes
- Size of remote file: 171 kB
examples/depth/camera_0b2396756adf4a76bbb985af92f534af_office_7_frame_10_domain.pngAdded

Large File Pointer Details
- SHA256: 3fda21d17a465af9cb332f07fd8fc9bb255a03a48bd4b661a5ca789784dbcad7
- Pointer size: 131 Bytes
- Size of remote file: 273 kB
examples/depth/camera_0b2396756adf4a76bbb985af92f534af_office_7_frame_1_domain.pngAdded

Large File Pointer Details
- SHA256: 2ec6050af0b91ab3fd7784deb0e005c89eec40a40e51a9936ca499bbb9775fa3
- Pointer size: 131 Bytes
- Size of remote file: 251 kB
examples/depth/camera_0b2396756adf4a76bbb985af92f534af_office_7_frame_2_domain.pngAdded

Large File Pointer Details
- SHA256: b3800cdc565340cba8097902bf374506b898ef2f59864697a89ea2817e714be7
- Pointer size: 131 Bytes
- Size of remote file: 106 kB
examples/depth/camera_0b2396756adf4a76bbb985af92f534af_office_7_frame_3_domain.pngAdded

Large File Pointer Details
- SHA256: cc28a5d5e9003fe651e5a4da7683512b8d4f9da0b447fa024dfd9ffd9f8ff6c2
- Pointer size: 130 Bytes
- Size of remote file: 96.3 kB
examples/depth/camera_0b2396756adf4a76bbb985af92f534af_office_7_frame_4_domain.pngAdded

Large File Pointer Details
- SHA256: 8b25e48bd4afdb9e9d60e1637065caa4ec6a3f56bbc5bd3be6255d32d63d724b
- Pointer size: 131 Bytes
- Size of remote file: 150 kB
examples/depth/camera_0b2396756adf4a76bbb985af92f534af_office_7_frame_5_domain.pngAdded

Large File Pointer Details
- SHA256: abef7219c2a2aca39183172aff749593a6b10a7cc6f7d0c6f47b3a0eb2186832
- Pointer size: 131 Bytes
- Size of remote file: 123 kB
examples/depth/camera_0b2396756adf4a76bbb985af92f534af_office_7_frame_6_domain.pngAdded

Large File Pointer Details
- SHA256: 7346e13826370bb01b2aee6ee4396d922dad43af5b714f9d0993faf6ed3a340a
- Pointer size: 130 Bytes
- Size of remote file: 82 kB