Spaces:
Sleeping
Sleeping
image_path to new_path
Browse files
pages/Model_Evaluation.py
CHANGED
@@ -98,7 +98,7 @@ val_transform = transforms.Compose([
|
|
98 |
class DDRDataset(Dataset):
|
99 |
def __init__(self, csv_path, transform=None):
|
100 |
self.data = pd.read_csv(csv_path)
|
101 |
-
self.image_paths = self.data['
|
102 |
self.labels = self.data['label']
|
103 |
self.transform = transform
|
104 |
|
|
|
98 |
class DDRDataset(Dataset):
|
99 |
def __init__(self, csv_path, transform=None):
|
100 |
self.data = pd.read_csv(csv_path)
|
101 |
+
self.image_paths = self.data['new_path']
|
102 |
self.labels = self.data['label']
|
103 |
self.transform = transform
|
104 |
|