cedf2caddd84592416b1e487690f28e04c77e94f,basicsr/data/vimeo90k_dataset.py,Vimeo90KDataset,__getitem__,#Vimeo90KDataset#Any#,80
Before Change
else:
img_lq_path = self.lq_root / clip / seq / f"im{neighbor}.png"
img_bytes = self.file_client.get(img_lq_path, "lq")
img_lq = mmcv.imfrombytes(img_bytes).astype(np.float32) / 255.
img_lqs.append(img_lq)
// randomly crop
img_gt, img_lqs = paired_random_crop(img_gt, img_lqs, gt_size, scale,
After Change
else:
img_gt_path = self.gt_root / clip / seq / "im4.png"
img_bytes = self.file_client.get(img_gt_path, "gt")
img_gt = imfrombytes(img_bytes, float32=True)
// get the neighboring LQ frames
img_lqs = []
for neighbor in self.neighbor_list:
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 8
Instances
Project Name: xinntao/BasicSR
Commit Name: cedf2caddd84592416b1e487690f28e04c77e94f
Time: 2020-10-03
Author: wxt1994@126.com
File Name: basicsr/data/vimeo90k_dataset.py
Class Name: Vimeo90KDataset
Method Name: __getitem__
Project Name: xinntao/BasicSR
Commit Name: cedf2caddd84592416b1e487690f28e04c77e94f
Time: 2020-10-03
Author: wxt1994@126.com
File Name: basicsr/data/single_image_dataset.py
Class Name: SingleImageDataset
Method Name: __getitem__
Project Name: xinntao/BasicSR
Commit Name: cedf2caddd84592416b1e487690f28e04c77e94f
Time: 2020-10-03
Author: wxt1994@126.com
File Name: basicsr/data/paired_image_dataset.py
Class Name: PairedImageDataset
Method Name: __getitem__
Project Name: xinntao/BasicSR
Commit Name: cedf2caddd84592416b1e487690f28e04c77e94f
Time: 2020-10-03
Author: wxt1994@126.com
File Name: basicsr/data/ffhq_dataset.py
Class Name: FFHQDataset
Method Name: __getitem__