Datasets:
Restore the complete texmet_metadata.json (HF copy was truncated at 765 bytes) and fix the usage example's key
Browse files- README.md +4 -2
- clean_dataset/texmet_metadata.json +2 -2
README.md
CHANGED
|
@@ -152,10 +152,12 @@ with open('clean_dataset/clean_textiles_dataset.json', 'r') as f:
|
|
| 152 |
df = pd.DataFrame(data)
|
| 153 |
print(f"TEXMET Final: {len(df)} curated images")
|
| 154 |
|
| 155 |
-
# Load
|
| 156 |
with open('clean_dataset/texmet_metadata.json', 'r') as f:
|
| 157 |
metadata = json.load(f)
|
| 158 |
-
|
|
|
|
|
|
|
| 159 |
```
|
| 160 |
|
| 161 |
## Version History
|
|
|
|
| 152 |
df = pd.DataFrame(data)
|
| 153 |
print(f"TEXMET Final: {len(df)} curated images")
|
| 154 |
|
| 155 |
+
# Load summary statistics
|
| 156 |
with open('clean_dataset/texmet_metadata.json', 'r') as f:
|
| 157 |
metadata = json.load(f)
|
| 158 |
+
stats = metadata['dataset_statistics']
|
| 159 |
+
print(f"Objects with a primary image: {stats['objects_with_primary_images']}")
|
| 160 |
+
print(stats['department_distribution'])
|
| 161 |
```
|
| 162 |
|
| 163 |
## Version History
|
clean_dataset/texmet_metadata.json
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c12224c1758d7c4ba3e75fe0661da524271d10bc8dbb69ed5f9485d966ff4b71
|
| 3 |
+
size 3599
|