image
imagewidth (px) 18
6k
| domain
stringclasses 4
values | label
class label 65
classes |
---|---|---|
Art | 40Pan
|
|
Art | 43Pencil
|
|
Art | 52Shelf
|
|
Art | 28Kettle
|
|
Art | 60Telephone
|
|
Art | 4Bike
|
|
Art | 61ToothBrush
|
|
Art | 13Couch
|
|
Art | 37Mug
|
|
Art | 5Bottle
|
|
Art | 20File_Cabinet
|
|
Art | 39Oven
|
|
Art | 3Bed
|
|
Art | 9Candles
|
|
Art | 52Shelf
|
|
Art | 30Knives
|
|
Art | 59Table
|
|
Art | 33Marker
|
|
Art | 15Desk_Lamp
|
|
Art | 30Knives
|
|
Art | 24Fork
|
|
Art | 30Knives
|
|
Art | 54Sneakers
|
|
Art | 22Flowers
|
|
Art | 22Flowers
|
|
Art | 34Monitor
|
|
Art | 32Laptop
|
|
Art | 19Fan
|
|
Art | 57Spoon
|
|
Art | 59Table
|
|
Art | 27Helmet
|
|
Art | 53Sink
|
|
Art | 5Bottle
|
|
Art | 10Chair
|
|
Art | 21Flipflops
|
|
Art | 55Soda
|
|
Art | 58TV
|
|
Art | 53Sink
|
|
Art | 1Backpack
|
|
Art | 24Fork
|
|
Art | 22Flowers
|
|
Art | 1Backpack
|
|
Art | 13Couch
|
|
Art | 45Printer
|
|
Art | 24Fork
|
|
Art | 30Knives
|
|
Art | 26Hammer
|
|
Art | 27Helmet
|
|
Art | 1Backpack
|
|
Art | 63Trash_Can
|
|
Art | 13Couch
|
|
Art | 34Monitor
|
|
Art | 12Computer
|
|
Art | 47Radio
|
|
Art | 4Bike
|
|
Art | 0Alarm_Clock
|
|
Art | 39Oven
|
|
Art | 5Bottle
|
|
Art | 64Webcam
|
|
Art | 33Marker
|
|
Art | 58TV
|
|
Art | 52Shelf
|
|
Art | 60Telephone
|
|
Art | 7Calculator
|
|
Art | 17Eraser
|
|
Art | 43Pencil
|
|
Art | 57Spoon
|
|
Art | 6Bucket
|
|
Art | 22Flowers
|
|
Art | 5Bottle
|
|
Art | 29Keyboard
|
|
Art | 32Laptop
|
|
Art | 35Mop
|
|
Art | 46Push_Pin
|
|
Art | 43Pencil
|
|
Art | 13Couch
|
|
Art | 29Keyboard
|
|
Art | 10Chair
|
|
Art | 8Calendar
|
|
Art | 51Screwdriver
|
|
Art | 22Flowers
|
|
Art | 30Knives
|
|
Art | 60Telephone
|
|
Art | 37Mug
|
|
Art | 54Sneakers
|
|
Art | 45Printer
|
|
Art | 43Pencil
|
|
Art | 23Folder
|
|
Art | 20File_Cabinet
|
|
Art | 47Radio
|
|
Art | 0Alarm_Clock
|
|
Art | 17Eraser
|
|
Art | 26Hammer
|
|
Art | 60Telephone
|
|
Art | 10Chair
|
|
Art | 30Knives
|
|
Art | 3Bed
|
|
Art | 5Bottle
|
|
Art | 23Folder
|
|
Art | 9Candles
|
Dataset Card for Office-Home
The Office-Home dataset has been created to evaluate domain adaptation algorithms for object recognition using deep learning. It consists of images from 4 different domains: Artistic images, Clip Art, Product images and Real-World images. For each domain, the dataset contains images of 65 object categories found typically in Office and Home settings.
Dataset Details
The dataset information is based on the original dataset website: https://www.hemanthdv.org/officeHomeDataset.html. This implementation is based on the shared data (images + a CSV file).
Dataset Sources
- Website: https://www.hemanthdv.org/officeHomeDataset.html
- Paper: https://openaccess.thecvf.com/content_cvpr_2017/papers/Venkateswara_Deep_Hashing_Network_CVPR_2017_paper.pdf
- Original Code: https://github.com/hemanthdv/da-hash
Use in FL
In order to prepare the dataset for the FL settings, we recommend using Flower Dataset (flwr-datasets) for the dataset download and partitioning and Flower (flwr) for conducting FL experiments.
To partition the dataset, do the following.
- Install the package.
pip install flwr-datasets[vision]
- Use the HF Dataset under the hood in Flower Datasets.
from flwr_datasets import FederatedDataset
from flwr_datasets.partitioner import IidPartitioner
fds = FederatedDataset(
dataset="flwrlabs/office-home",
partitioners={"train": IidPartitioner(num_partitions=10)}
)
partition = fds.load_partition(partition_id=0)
Dataset Structure
Data Instances
The first instance of the train split is presented below:
{
'image': <PIL.JpegImagePlugin.JpegImageFile image mode=RGB size=640x640>,
'domain': 'Real World',
'label': 0
}
Data Split
DatasetDict({
train: Dataset({
features: ['image', 'domain', 'label'],
num_rows: 15588
})
})
Implementation details
The CSV file from the original source contains paths to samples with a subfolder named "Clock"; however, such data does not exist. However, if counting this category, there would be 66 classes. I believe this class was forgotten to be edited because there's a different class present in the dataset named "Alarm-Clock". This state better reflects the number of samples specified in the paper.
Citation
When working with the Office-Home dataset, please cite the original paper. If you're using this dataset with Flower Datasets and Flower, cite Flower.
BibTeX:
Original paper:
@inproceedings{venkateswara2017deep,
title={Deep hashing network for unsupervised domain adaptation},
author={Venkateswara, Hemanth and Eusebio, Jose and Chakraborty, Shayok and Panchanathan, Sethuraman},
booktitle={Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition},
pages={5018--5027},
year={2017}
}
Flower:
@article{DBLP:journals/corr/abs-2007-14390,
author = {Daniel J. Beutel and
Taner Topal and
Akhil Mathur and
Xinchi Qiu and
Titouan Parcollet and
Nicholas D. Lane},
title = {Flower: {A} Friendly Federated Learning Research Framework},
journal = {CoRR},
volume = {abs/2007.14390},
year = {2020},
url = {https://arxiv.org/abs/2007.14390},
eprinttype = {arXiv},
eprint = {2007.14390},
timestamp = {Mon, 03 Aug 2020 14:32:13 +0200},
biburl = {https://dblp.org/rec/journals/corr/abs-2007-14390.bib},
bibsource = {dblp computer science bibliography, https://dblp.org}
}
Dataset Card Contact
If you have any questions about the dataset preprocessing and preparation, please contact Flower Labs.
- Downloads last month
- 356