panda-peter / visda2019-multisource Goto Github PK
View Code? Open in Web Editor NEWSource code of our submission (Rank 1) for Multi-Source Domain Adaptation task in VisDA-2019
Source code of our submission (Rank 1) for Multi-Source Domain Adaptation task in VisDA-2019
Hi @Panda-Peter, thank you for open sourcing this implementation. I was looking through the MMDLoss
class in mmd.py and saw these two lines in the forward()
function:
line 78:
xyk_c_antidiag = (1 - torch.eye(n_labels, n_labels).cuda()) * xyk_c
line 81:
mmd -= cfg.LOSSES.MMD_NEG_WEIGHT * ( (n_labels - 1) * (xk_c_sum + yk_c_sum) - 2 * xyk_c_antidiag.sum() ) / neg_num
May I know what they are used for? According to my understanding of your class-level MMD loss, the gaussian kernel should be computed using instances from within the same class, and this is computed in line 77 with xyk_c_diag
:
xyk_c_diag = torch.eye(n_labels, n_labels).cuda() * xyk_c
xyk_c_antidiag
stores the computed gaussian kernel between different classes. Why is this needed? Thank you!
Hi @Panda-Peter thank you for sharing this code and your group's great approach to the VisDA challenge
I'm trying to determine what hyperparameters you all used for training CycleGAN.
From the text file you shared it looks like those are all the defaults?
Can you please confirm whether this is correct?
Just trying to make sure we understand your approach
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.