DeepCORAL icon indicating copy to clipboard operation
DeepCORAL copied to clipboard

🧠 A PyTorch implementation of 'Deep CORAL: Correlation Alignment for Deep Domain Adaptation.', ECCV 2016

Results 7 DeepCORAL issues
Sort by recently updated
recently updated
newest added

I noticed that both the covariance and the Frobenius norm are computed differently in your implementation. You compute the Frobenius norm as below: ` # frobenius norm between source and...

DEEP_CORAL_LOSS: def CORAL(source, target): d = source.data.shape[1] ns = source.data.shape[0] nt = target.data.shape[0] # source covariance xm = torch.mean(source, 0, keepdim=True) - source xc = (xm.t() @ xm) / (ns-1)...

There is a difference between the CORAL Loss used in the paper and the one described in this code. Is it because they both are giving the same result ?...

I'm sorry i met the following error using the office31 dataset [INFO] Loading datasets: amazon [INFO] Loading datasets: webcam Traceback (most recent call last): File "main.py", line 151, in res...

I got this accuracy for SHVN -----> MNIST ###Test Source: Epoch: 2460, avg_loss: 0.0003, Accuracy: 73255/73257 (100.00%) ###Test Target: Epoch: 2460, avg_loss: 21.5493, Accuracy: 35242/60000 (58.74%) That means data loading...

I just run the code using default setting of weight of _lambda , and i observe very tiny difference between testing accuracy of source and target. In the other hand,...