Datasets:
Revise embeddings folder structure and explanation
Browse files
README.md
CHANGED
|
@@ -69,10 +69,13 @@ dataset/
|
|
| 69 |
...
|
| 70 |
image_set_63.tar.gz
|
| 71 |
embeddings/
|
|
|
|
| 72 |
txt_emb_biocap.npy
|
|
|
|
| 73 |
txt_emb_bioclip.npy
|
|
|
|
| 74 |
txt_emb_species.json
|
| 75 |
-
txt_emb_species.npy
|
| 76 |
metadata/
|
| 77 |
catalog.csv
|
| 78 |
species_level_taxonomy_chains.csv
|
|
@@ -90,7 +93,7 @@ visuals/
|
|
| 90 |
phyla_ToL_tree.png
|
| 91 |
```
|
| 92 |
|
| 93 |
-
[BioCLIP](https://huggingface.co/imageomics/bioclip) and [BioCAP](https://huggingface.co/imageomics/biocap) text embeddings for TreeOfLife-10M images are provided under `embeddings/txt_emb_<model-name>.npy`. The BioCLIP text
|
| 94 |
|
| 95 |
Each `image_set` is approximately 30GB and contains 100 thousand images, each named `<treeoflife_id>.jpg`.
|
| 96 |
We cannot reproduce the `iNat21` data, but step-by-step [***reproduction instructions***](https://github.com/Imageomics/bioclip/blob/main/docs/imageomics/treeoflife10m.md#reproduce-treeoflife-10m) are provided on the BioCLIP GitHub repository to recreate the proper webdataset structure. This process will produce a collection of files named `shard-######.tar` in a `train`, `val`, and `train_small` folder with which to work.
|
|
|
|
| 69 |
...
|
| 70 |
image_set_63.tar.gz
|
| 71 |
embeddings/
|
| 72 |
+
txt_emb_biocap.json
|
| 73 |
txt_emb_biocap.npy
|
| 74 |
+
txt_emb_bioclip.json
|
| 75 |
txt_emb_bioclip.npy
|
| 76 |
+
# generic 'species' emb files are duplicates of bioclip versions for pybioclip backward-compatibility
|
| 77 |
txt_emb_species.json
|
| 78 |
+
txt_emb_species.npy
|
| 79 |
metadata/
|
| 80 |
catalog.csv
|
| 81 |
species_level_taxonomy_chains.csv
|
|
|
|
| 93 |
phyla_ToL_tree.png
|
| 94 |
```
|
| 95 |
|
| 96 |
+
[BioCLIP](https://huggingface.co/imageomics/bioclip) and [BioCAP](https://huggingface.co/imageomics/biocap) text embeddings for TreeOfLife-10M images are provided under `embeddings/txt_emb_<model-name>.npy` with associated labels `embeddings/txt_emb_<model-name>.json`. The BioCLIP text embeddings and labels are duplicated as `txt_emb_species.npy` and `txt_emb_species.json` to maintain [`pybioclip`](http://github.com/Imageomics/pybioclip) functionality for versions 2.1.x and earlier, which do not incorporate BioCAP as a "Tree of Life Model". All three `embeddings/*.json` files are the same, since each model used the same label set; they are duplicated under the model-specific naming convention for [consistent by-model access by pybioclip](https://github.com/Imageomics/pybioclip/pull/171).
|
| 97 |
|
| 98 |
Each `image_set` is approximately 30GB and contains 100 thousand images, each named `<treeoflife_id>.jpg`.
|
| 99 |
We cannot reproduce the `iNat21` data, but step-by-step [***reproduction instructions***](https://github.com/Imageomics/bioclip/blob/main/docs/imageomics/treeoflife10m.md#reproduce-treeoflife-10m) are provided on the BioCLIP GitHub repository to recreate the proper webdataset structure. This process will produce a collection of files named `shard-######.tar` in a `train`, `val`, and `train_small` folder with which to work.
|