Fix error serving gt_fullsize_ref in full_image_dataset
This commit is contained in:
parent
ccf8438001
commit
94deab2792
|
@ -219,7 +219,7 @@ class FullImageDataset(data.Dataset):
|
|||
img_GT, gt_fullsize_ref, gt_mask, gt_center = self.pull_tile(img_full)
|
||||
else:
|
||||
img_GT, gt_fullsize_ref = img_full, img_full
|
||||
gt_mask = np.ones(img_full.shape[:2])
|
||||
gt_mask = np.ones(img_full.shape[:2], dtype=gt_fullsize_ref.dtype)
|
||||
gt_center = torch.tensor([img_full.shape[0] // 2, img_full.shape[1] // 2], dtype=torch.long)
|
||||
orig_gt_dim = gt_fullsize_ref.shape[:2]
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user