Module: tff.simulation.datasets.gldv2
Stay organized with collections
Save and categorize content based on your preferences.
Libraries for the federated Google Landmark v2 dataset for simulation.
Classes
class ClientData
: Object to hold a federated dataset.
Functions
get_synthetic(...)
: Returns a small synthetic dataset for testing.
load_data(...)
: Loads a federated version of the Google Landmark v2 dataset.
Other Members |
FED_GLD_CACHE
|
'gld160k'
|
FED_GLD_SPLIT_FILE_BUNDLE
|
'landmarks-user-160k'
|
FED_GLD_SPLIT_FILE_BUNDLE_MD5_CHECKSUM
|
'53c36bd7d5fc12f927af2820b7e4a57c'
|
FED_GLD_SPLIT_FILE_DOWNLOAD_URL
|
'http://storage.googleapis.com/gresearch/federated-vision-datasets/landmarks-user-160k.zip'
|
FED_GLD_TEST_SPLIT_FILE
|
'test.csv'
|
FED_GLD_TRAIN_SPLIT_FILE
|
'federated_train.csv'
|
GLD_SHARD_BASE_URL
|
'https://s3.amazonaws.com/google-landmark'
|
LOGGER
|
'gldv2'
|
MINI_GLD_CACHE
|
'gld23k'
|
MINI_GLD_TEST_DOWNLOAD_URL
|
'https://storage.googleapis.com/tff-datasets-public/mini_gld_test.csv'
|
MINI_GLD_TEST_SPLIT_FILE
|
'mini_gld_test.csv'
|
MINI_GLD_TEST_SPLIT_FILE_MD5_CHECKSUM
|
'298e9d19d66357236f66fe8e22920933'
|
MINI_GLD_TRAIN_DOWNLOAD_URL
|
'https://storage.googleapis.com/tff-datasets-public/mini_gld_train_split.csv'
|
MINI_GLD_TRAIN_SPLIT_FILE
|
'mini_gld_train_split.csv'
|
MINI_GLD_TRAIN_SPLIT_FILE_MD5_CHECKSUM
|
'9fd62cf79a67046fdd673d3a0ac52841'
|
NUM_SHARD_TRAIN
|
500
|
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.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2024-09-20 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-20 UTC."],[],[]]