Methodon_train_batch_end(self, trainer, pl_module, outputs, batch, batch_idx, dataloader_idx)
experiments/ldm/main.py:383
Methodon_validation_batch_end(self, trainer, pl_module, outputs, batch, batch_idx, dataloader_idx)
experiments/ldm/main.py:387
Functionrun(model, selected_path, task, custom_steps, resize_enabled=False, classifier_ckpt=None, global_step=None)
experiments/ldm/notebook_helpers.py:131
Functiontensor2img Converts a torch Tensor into an image Numpy array of BGR channel order Input: 4D(B,(3/1),H,W), 3D(C,H,W), or 2D(H,W), any range, RGB channel
experiments/ldm/ldm/modules/image_degradation/utils_image.py:342