DsL commited on
Commit ·
ee8bfda
1
Parent(s): d74d248
update
Browse files- Causal3D_Dataset.py +0 -1
Causal3D_Dataset.py
CHANGED
|
@@ -91,7 +91,6 @@ class Causal3dDataset(datasets.GeneratorBasedBuilder):
|
|
| 91 |
for img_path in Path(data_dir).rglob(ext):
|
| 92 |
relative = str(img_path.relative_to(data_dir))
|
| 93 |
image_files[relative] = str(img_path)
|
| 94 |
-
print(f"Found {len(image_files)} images in {data_dir}")
|
| 95 |
|
| 96 |
csv_files = [f for f in Path(data_dir).rglob("*.csv") if not f.name.startswith("._")]
|
| 97 |
df = pd.read_csv(csv_files[0]) if csv_files else None
|
|
|
|
| 91 |
for img_path in Path(data_dir).rglob(ext):
|
| 92 |
relative = str(img_path.relative_to(data_dir))
|
| 93 |
image_files[relative] = str(img_path)
|
|
|
|
| 94 |
|
| 95 |
csv_files = [f for f in Path(data_dir).rglob("*.csv") if not f.name.startswith("._")]
|
| 96 |
df = pd.read_csv(csv_files[0]) if csv_files else None
|