Module: tff.simulation.datasets.inaturalist
Stay organized with collections
Save and categorize content based on your preferences.
Libraries for the federated iNaturalist dataset for simulation.
Classes
class ClientData
: Object to hold a federated dataset.
class INaturalistSplit
: The different split for the iNaturalist dataset.
Functions
get_synthetic(...)
: Returns a small synthetic dataset for testing.
load_data(...)
: Loads a federated version of the iNaturalist 2017 dataset.
Other Members |
INAT_TEST_DOWNLOAD_URL
|
'https://storage.googleapis.com/tff-datasets-public/iNaturalist_test.csv'
|
INAT_TEST_IMAGE_MD5_CHECKSUM
|
'7d9b096fa1cd94d67a0fa779ea301234'
|
INAT_TEST_IMAGE_URL
|
'https://ml-inat-competition-datasets.s3.amazonaws.com/2017/test2017.tar.gz'
|
INAT_TEST_SPLIT_FILE
|
'iNaturalist_test.csv'
|
INAT_TEST_SPLIT_FILE_MD5_CHECKSUM
|
'bcf08a5a740ee76dac4e5af668081891'
|
INAT_TRAIN_DOWNLOAD_URL
|
'https://storage.googleapis.com/tff-datasets-public/iNaturalist_train.csv'
|
INAT_TRAIN_IMAGE_MD5_CHECKSUM
|
'7c784ea5e424efaec655bd392f87301f'
|
INAT_TRAIN_IMAGE_URL
|
'https://ml-inat-competition-datasets.s3.amazonaws.com/2017/train_val_images.tar.gz'
|
INAT_TRAIN_SPLIT_FILE
|
'iNaturalist_train.csv'
|
INAT_TRAIN_SPLIT_FILE_MD5_CHECKSUM
|
'63d5a41699434bc2b13f5853f3764c18'
|
LOGGER
|
'iNat2017'
|
TEST_FILE_NAME
|
'test.tfRecord'
|
TRAIN_SUB_DIR
|
'train'
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-20 UTC.
[null,null,["Last updated 2024-09-20 UTC."],[],[],null,["# Module: tff.simulation.datasets.inaturalist\n\n\u003cbr /\u003e\n\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/federated/blob/v0.87.0 Version 2.0, January 2004 Licensed under the Apache License, Version 2.0 (the) |\n\nLibraries for the federated iNaturalist dataset for simulation.\n\nClasses\n-------\n\n[`class ClientData`](../../../tff/simulation/datasets/ClientData): Object to hold a federated dataset.\n\n[`class INaturalistSplit`](../../../tff/simulation/datasets/inaturalist/INaturalistSplit): The different split for the iNaturalist dataset.\n\nFunctions\n---------\n\n[`get_synthetic(...)`](../../../tff/simulation/datasets/inaturalist/get_synthetic): Returns a small synthetic dataset for testing.\n\n[`load_data(...)`](../../../tff/simulation/datasets/inaturalist/load_data): Loads a federated version of the iNaturalist 2017 dataset.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Other Members ------------- ||\n|------------------------------------|----------------------------------------------------------------------------------------|\n| INAT_TEST_DOWNLOAD_URL | `'https://storage.googleapis.com/tff-datasets-public/iNaturalist_test.csv'` |\n| INAT_TEST_IMAGE_MD5_CHECKSUM | `'7d9b096fa1cd94d67a0fa779ea301234'` |\n| INAT_TEST_IMAGE_URL | `'https://ml-inat-competition-datasets.s3.amazonaws.com/2017/test2017.tar.gz'` |\n| INAT_TEST_SPLIT_FILE | `'iNaturalist_test.csv'` |\n| INAT_TEST_SPLIT_FILE_MD5_CHECKSUM | `'bcf08a5a740ee76dac4e5af668081891'` |\n| INAT_TRAIN_DOWNLOAD_URL | `'https://storage.googleapis.com/tff-datasets-public/iNaturalist_train.csv'` |\n| INAT_TRAIN_IMAGE_MD5_CHECKSUM | `'7c784ea5e424efaec655bd392f87301f'` |\n| INAT_TRAIN_IMAGE_URL | `'https://ml-inat-competition-datasets.s3.amazonaws.com/2017/train_val_images.tar.gz'` |\n| INAT_TRAIN_SPLIT_FILE | `'iNaturalist_train.csv'` |\n| INAT_TRAIN_SPLIT_FILE_MD5_CHECKSUM | `'63d5a41699434bc2b13f5853f3764c18'` |\n| LOGGER | `'iNat2017'` |\n| TEST_FILE_NAME | `'test.tfRecord'` |\n| TRAIN_SUB_DIR | `'train'` |\n\n\u003cbr /\u003e"]]