print paths
Browse files
NLVR2.py
CHANGED
|
@@ -112,6 +112,7 @@ class NLVR2Dataset(datasets.GeneratorBasedBuilder):
|
|
| 112 |
right_img_identifier = f"{split_name}-{common_img_identifier[1]}-{common_img_identifier[2]}-img1.png"
|
| 113 |
left_image_path = str(os.path.join(images_path, left_img_identifier))
|
| 114 |
right_image_path = str(os.path.join(images_path, right_img_identifier))
|
|
|
|
| 115 |
assert (os.path.exists(left_image_path))
|
| 116 |
assert (os.path.exists(right_image_path))
|
| 117 |
record = {
|
|
|
|
| 112 |
right_img_identifier = f"{split_name}-{common_img_identifier[1]}-{common_img_identifier[2]}-img1.png"
|
| 113 |
left_image_path = str(os.path.join(images_path, left_img_identifier))
|
| 114 |
right_image_path = str(os.path.join(images_path, right_img_identifier))
|
| 115 |
+
print(left_image_path)
|
| 116 |
assert (os.path.exists(left_image_path))
|
| 117 |
assert (os.path.exists(right_image_path))
|
| 118 |
record = {
|