Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
SSARCandy committed Nov 6, 2017
2 parents 589b3f4 + e97ebf0 commit 272c4ae
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Deep CORAL

An PyTorch implementation of 'Deep CORAL: Correlation Alignment for Deep Domain Adaptation. B Sun, K Saenko, ECCV 2016'
A PyTorch implementation of 'Deep CORAL: Correlation Alignment for Deep Domain Adaptation. B Sun, K Saenko, ECCV 2016'

> Deep CORAL can learn a nonlinear transformation that aligns correlations of
layer activations in deep neural networks (Deep CORAL).

[中文介紹](https://ssarcandy.tw/2017/10/31/deep-coral/)

Expand All @@ -20,7 +23,19 @@ My implementation result (Task Amazon -> Webcam):

## Unit Test

The unit test is for sanity test only (to check my math is not going wrong),
please run it under CPU version of PyTorch.

```bash
$ cd ..
$ python -m DeepCORAL.tests.test -v
```
test_CORAL_backward (__main__.TestCORAL) ... ok
test_CORAL_forward (__main__.TestCORAL) ... ok
test_feature_covariance_mat (__main__.TestCORAL) ... ok
test_forbenius_norm (__main__.TestCORAL) ... ok

----------------------------------------------------------------------
Ran 4 tests in 0.033s

OK
```

0 comments on commit 272c4ae

Please sign in to comment.