docstr: Office-31 Dataset. Consists of three domains: 'amazon', 'dslr', and 'webcam', with 31 image classes.
  
  Args:
      root (string): path to directory where the office folder will be created (or exists).
  
  Reference:
      Saenko, K., Kulis, B., Fritz, M. and Darrell, T., 2010, September. Adapting visual category models to new
      domains. In European Conference on Computer Vision (pp. 213-226). Springer, Berlin, Heidelberg.
docstr_tok: ["Office-31","Dataset",".","Consists","of","three","domains",":","'amazon","'",",","'dslr","'",",","and","'webcam","'",",","with","31","image","classes",".","Args",":","root","(","string",")",":","path","to","directory","where","the","office","folder","will","be","created","(","or","exists",")",".","Reference",":","Saenko",",","K.",",","Kulis",",","B.",",","Fritz",",","M.","and","Darrell",",","T.",",","2010",",","September",".","Adapting","visual","category","models","to","new","domains",".","In","European","Conference","on","Computer","Vision","(","pp",".","213-226",")",".","Springer",",","Berlin",",","Heidelberg","."]
code: def __init__(self, root, **kwargs):
      """Office-31 Dataset. Consists of three domains: 'amazon', 'dslr', and 'webcam', with 31 image classes.
  
      Args:
          root (string): path to directory where the office folder will be created (or exists).
  
      Reference:
          Saenko, K., Kulis, B., Fritz, M. and Darrell, T., 2010, September. Adapting visual category models to new
          domains. In European Conference on Computer Vision (pp. 213-226). Springer, Berlin, Heidelberg.
      """
      sub_domain_set = ["amazon", "dslr", "webcam"]
      super(Office31, self).__init__(
          root, sub_domain_set=sub_domain_set, **kwargs
      )
  
imports: import glob
  import logging
  import os
  from enum import Enum
  import numpy
  import pydicom
  import torch
  from torchvision import datasets, transforms
  from kale.loaddata.dataset_access import DatasetAccess
  from kale.loaddata.mnistm import MNISTM
  from kale.loaddata.multi_domain import MultiDomainAccess, MultiDomainImageFolder
  from kale.loaddata.usps import USPS
  from kale.prepdata.image_transform import get_transform
  from kale.utils.download import download_file_by_url
label_desc: Use image node_id 1 to create a new Office31 object from inherited base classes: OfficeAccess with example: obj = Office31(root)