Datasets:
Anonymous
commited on
Update Nova.py
Browse files
Nova.py
CHANGED
|
@@ -76,7 +76,6 @@ class NovaDataset(GeneratorBasedBuilder):
|
|
| 76 |
for idx, row in captions.iterrows():
|
| 77 |
filename = row["filename"]
|
| 78 |
case_id = row["case_id"]
|
| 79 |
-
image_path = os.path.join(image_dir, filename)
|
| 80 |
record = {
|
| 81 |
"image": images_map.get(filename, None),
|
| 82 |
"filename": filename,
|
|
|
|
| 76 |
for idx, row in captions.iterrows():
|
| 77 |
filename = row["filename"]
|
| 78 |
case_id = row["case_id"]
|
|
|
|
| 79 |
record = {
|
| 80 |
"image": images_map.get(filename, None),
|
| 81 |
"filename": filename,
|