officehome
        OfficeHome
¶
  
        Bases: BaseDownloadableDataset
A custom train/test split of OfficeHomeFull.
Extends BaseDownloadableDataset,
so the dataset can be downloaded by setting download=True when
initializing.
Source code in pytorch_adapt\datasets\officehome.py
          | 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 |  | 
__init__(root, domain, train, transform=None, **kwargs)
¶
  Parameters:
| Name | Type | Description | Default | 
|---|---|---|---|
| root | str | The dataset must be located at  | required | 
| domain | str | One of  | required | 
| train | bool | Whether or not to use the training set. | required | 
| transform | The image transform applied to each sample. | None | 
Source code in pytorch_adapt\datasets\officehome.py
        | 52 53 54 55 56 57 58 59 60 61 62 |  | 
        OfficeHomeFull
¶
  
        Bases: BaseDataset
A dataset consisting of 65 classes in 4 domains: art, clipart, product, and real.
Source code in pytorch_adapt\datasets\officehome.py
          | 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 |  | 
__init__(root, domain, transform)
¶
  Parameters:
| Name | Type | Description | Default | 
|---|---|---|---|
| root | str | The dataset must be located at  | required | 
| domain | str | One of  | required | 
| transform | The image transform applied to each sample. | required | 
Source code in pytorch_adapt\datasets\officehome.py
        | 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |  |