updated keys
This commit is contained in:
parent
e298ac4c45
commit
1a66169b37
|
@ -34,8 +34,8 @@ class aiuNNDataset(torch.utils.data.Dataset):
|
||||||
|
|
||||||
def __getitem__(self, idx):
|
def __getitem__(self, idx):
|
||||||
# Get the byte strings
|
# Get the byte strings
|
||||||
low_res_bytes = self.df.iloc[idx]['low_res']
|
low_res_bytes = self.df.iloc[idx]['low_ress']
|
||||||
high_res_bytes = self.df.iloc[idx]['high_res']
|
high_res_bytes = self.df.iloc[idx]['high_ress']
|
||||||
|
|
||||||
# Convert bytes to numpy arrays
|
# Convert bytes to numpy arrays
|
||||||
low_res = cv2.imdecode(np.frombuffer(low_res_bytes, np.uint8), -1)
|
low_res = cv2.imdecode(np.frombuffer(low_res_bytes, np.uint8), -1)
|
||||||
|
|
Loading…
Reference in New Issue