Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -1 +1,27 @@
|
|
| 1 |
-
iNatAg is a large-scale dataset derived from the iNaturalist dataset, designed for species classification and crop/weed classification in agricultural and ecological applications. It consists of 2,959 species with a breakdown of 1,986 crop species and 973 weed species.The dataset contains a total of 4,720,903 images, making it one of the largest and most diverse datasets available for plant species identification and classification.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
iNatAg is a large-scale dataset derived from the iNaturalist dataset, designed for species classification and crop/weed classification in agricultural and ecological applications. It consists of 2,959 species with a breakdown of 1,986 crop species and 973 weed species.The dataset contains a total of 4,720,903 images, making it one of the largest and most diverse datasets available for plant species identification and classification.
|
| 2 |
+
|
| 3 |
+
iNatAg is also released as part of the [AgML](https://github.com/Project-AgML/AgML) dataset collection, with support for filtering by species, genus, or family and direct data loading through a streamlined API.
|
| 4 |
+
## Installation
|
| 5 |
+
|
| 6 |
+
To install the latest release of AgML, run the following command:
|
| 7 |
+
|
| 8 |
+
```shell
|
| 9 |
+
pip install agml
|
| 10 |
+
```
|
| 11 |
+
## Quick Start
|
| 12 |
+
|
| 13 |
+
The following code allows you to list available datasets within the iNatAg dataset:
|
| 14 |
+
```python
|
| 15 |
+
# List iNatAg species
|
| 16 |
+
import agml
|
| 17 |
+
print(agml.data.public_data_sources(parent_dataset='iNatAg'))
|
| 18 |
+
```
|
| 19 |
+
|
| 20 |
+
In line with our vision of providing data across the entire taxonomic hierarchy, we also provide the ability to load data specifically according to family or species, or even common name:
|
| 21 |
+
```python
|
| 22 |
+
# Load a collection by family names
|
| 23 |
+
loader = agml.data.AgMLDataLoader.from_parent("iNatAg", filters={"family_name": ["...", "..."]})
|
| 24 |
+
|
| 25 |
+
# Load by common names
|
| 26 |
+
loader = agml.data.AgMLDataLoader.from_parent("iNatAg", filters={"common_name": "..."})
|
| 27 |
+
```
|