
Visualization of the office-home dataset in the Deep Lake UI
The Office-Home dataset was created to assess deep learning algorithms for domain adaptation-based object recognition. The dataset consists of images from 4 different domains which include art, clip art, product, and Real-World images. The dataset contains images of 65 types of objects commonly found in Office-Home Settings.
import deeplake
ds = deeplake.load('hub://activeloop/office-home-domain-adaptation')
Office-Home Data Fields
- images: tensor containing images
- domain_objects: labels that represent 65 categories of objects in each domain
- domain_categories: labels that represent 4 domain categories
Train a model on Office-Home Dataset with PyTorch in Python
Let’s use Deep Lake built-in PyTorch one-line dataloader to connect the data to the compute:
dataloader = ds.pytorch(num_workers = 0, batch_size= 4, shuffle = False)
Train a model on Office-Home Dataset with TensorFlow in Python
dataloader = ds.tensorflow()
Data Collection and Normalization Information
- Homepage: https://www.hemanthdv.org/officeHomeDataset.html
- Repository: N/A
- Paper: https://openaccess.thecvf.com/content_cvpr_2017/papers/Venkateswara_Deep_Hashing_
Network_CVPR_2017_paper.pdf - Point of Contact: N/A
Office-Home Dataset Curators
Office-Home Dataset Licensing Information
Office-Home Dataset Citation Information
@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} }
What is the Office-Home dataset for Python?
The Office-Home dataset was developed to assess domain adaptation algorithms for object recognition using deep learning. The dataset is made up of images from four different domains—artistic, product, real-world images, and clip art. A Python web crawler that crawled through several search engines and online image directories was used to collect the images in the dataset.
What is the Office-Home dataset used for?
The Office-Home dataset is used as a benchmark dataset for domain adaptation. It contains four domains and each domain consists of 65 categories. The four domains include art (a collection of artistic images in the form of sketches), clipart (a collection of clipart images), product (a domain containing images of objects without a background), and real-world images (a domain containing images of objects captured with a regular camera).
How to download the Office-Home dataset in Python?
With the open-source package Activeloop Deep Lake in Python, you can load the Office-Home dataset fast with one line of code. See detailed instructions on how to load the Office-Home dataset in Python.
How can I use Office-Home dataset in PyTorch or TensorFlow?
Using the open-source package Activeloop Deep Lake in Python you can stream the Office-Home dataset while training a model in PyTorch or TensorFlow with one line of code. See detailed instructions on how to train a model on the Office-Home dataset with PyTorch in Python or train a model on the Office-Home dataset with TensorFlow in Python.