Skip to content

Commit 103d4d8

Browse files
committed
Merge branch 'public-main' into public-dev
2 parents 50b284b + e00428b commit 103d4d8

19 files changed

+227566
-212
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
SHELL := bash
33

4-
version := 0.7.2
4+
version := 0.7.3
55

66
src.python := $(shell find ./agml -type f -name "*.py" || :)
77
test.python := $(shell find ./tests -type f -name "*.py" || :)

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,22 @@ to your desired specification.
201201
[java_plum_leaf_disease_classification](https://github.com/Project-AgML/AgML/blob/main/docs/datasets/java_plum_leaf_disease_classification.md) | Image Classification | 2400 |
202202
[sunflower_disease_classification](https://github.com/Project-AgML/AgML/blob/main/docs/datasets/sunflower_disease_classification.md) | Image Classification | 2358 |
203203
[cucumber_disease_classification](https://github.com/Project-AgML/AgML/blob/main/docs/datasets/cucumber_disease_classification.md) | Image Classification | 7689 |
204+
[iNatAg](https://github.com/Project-AgML/AgML/blob/main/docs/datasets/iNatAg.md) | Image Classification | 4720903 |
205+
[iNatAg-mini](https://github.com/Project-AgML/AgML/blob/main/docs/datasets/iNatAg-mini.md) | Image Classification | 560844 |
206+
207+
208+
## iNatAg and iNatAg-mini
209+
210+
211+
AgML provides an API with direct access to iNatAg (and iNatAg-mini), one of the world's largest collections of agricultural images dedicated for the task of image classification. Collectively, this dataset contains over 4 million images along with detailed species classificaations and enables access to a variety of large-scale agricultural machine learning tasks. You can instantiate the iNatAg (or iNatAg-mini, a smaller variant of iNatAg for smaller-scale applications) dataset as follows:
212+
213+
```python
214+
# To select a collection of scientific family names.
215+
loader = agml.data.AgMLDataLoader.from_parent("iNatAg", filters={"family_name": ["...", "..."]})
216+
217+
# To select common names.
218+
loader = agml.data.AgMLDataLoader.from_parent("iNatAg", filters={"common_name": "..."})
219+
```
204220

205221
## Usage Information
206222

@@ -228,7 +244,9 @@ into a single training pipeline. To this end, we provide annotations in the foll
228244

229245
We welcome contributions! If you would like to contribute a new feature, fix an issue that you've noticed, or even just mention
230246
a bug or feature that you would like to see implemented, please don't hesitate to use the *Issues* tab to bring it to our attention.
247+
231248
See the [contributing guidelines](/CONTRIBUTING.md) for more information.
232249

233250
## Funding
234251
This project is partly funded by the [National AI Institute for Food Systems](https://aifs.ucdavis.edu).
252+

agml/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
__version__ = "0.7.2"
15+
__version__ = "0.7.3"
1616
__all__ = ["data", "synthetic", "backend", "viz", "io"]
1717

1818

0 commit comments

Comments
 (0)