You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and prepare them following [Documentation for ImageNetR](/common/vision/datasets/imagenet_r.py) and [ImageNet-Sketch](/common/vision/datasets/imagenet_sketch.py).
32
+
and prepare them following [Documentation for ImageNetR](/common/vision/datasets/imagenet_r.py)
33
+
and [ImageNet-Sketch](/common/vision/datasets/imagenet_sketch.py).
30
34
31
35
## Supported Methods
32
36
@@ -45,8 +49,8 @@ Supported methods include:
45
49
46
50
## Usage
47
51
48
-
The shell files give the script to reproduce the benchmark with specified hyper-parameters.
49
-
For example, if you want to train DANN on Office31, use the following script
52
+
The shell files give the script to reproduce the benchmark with specified hyper-parameters. For example, if you want to
53
+
train DANN on Office31, use the following script
50
54
51
55
```shell script
52
56
# Train a DANN on Office-31 Amazon -> Webcam task using ResNet 50.
@@ -55,16 +59,17 @@ For example, if you want to train DANN on Office31, use the following script
55
59
CUDA_VISIBLE_DEVICES=0 python dann.py data/office31 -d Office31 -s A -t W -a resnet50 --epochs 20 --seed 1 --log logs/dann/Office31_A2W
56
60
```
57
61
58
-
Note that ``-s`` specifies the source domain, ``-t`` specifies the target domain, and ``--log`` specifies where to store results.
62
+
Note that ``-s`` specifies the source domain, ``-t`` specifies the target domain, and ``--log`` specifies where to store
63
+
results.
59
64
60
-
After running the above command, it will download ``Office-31`` datasets from the Internet if it's the first time you run the code. Directory that stores datasets will be named as
65
+
After running the above command, it will download ``Office-31`` datasets from the Internet if it's the first time you
66
+
run the code. Directory that stores datasets will be named as
0 commit comments