mil-tokyo / dg_mmld Goto Github PK
View Code? Open in Web Editor NEWPytorch Implementation of Domain Generalization Using a Mixture of Multiple Latent Domains
Pytorch Implementation of Domain Generalization Using a Mixture of Multiple Latent Domains
Hi,
I wanted to try your method on the VLCS dataset, as described in your paper, but I am having a hard time finding the dataset. Can you point me to where you get the dataset?
Thanks!
Hi ! Thanks for sharing the work! But the link of PACS Dataset failed. Could you update the download link of PACS! Thank u
HI @milhidaka I am getting the following error
Traceback (most recent call last):
File "../main/main.py", line 90, in
num_classes=source_train.dataset.dataset.num_class, num_domains=disc_dim, pretrained=True)
File "../util/util.py", line 72, in get_network_fn
return nets_map[name]train
File "../model/caffenet.py", line 66, in caffenet
state_dict = torch.load("alexnet_caffe.pth.tar", map_location=lambda storage, loc: storage, pickle_module=pickle)
File "/home/vinodkk/miniconda2/envs/dg/lib/python3.6/site-packages/torch/serialization.py", line 358, in load
return _load(f, map_location, pickle_module)
File "/home/vinodkk/miniconda2/envs/dg/lib/python3.6/site-packages/torch/serialization.py", line 532, in _load
magic_number = pickle_module.load(f)
_pickle.UnpicklingError: invalid load key, '<'.
PACS/default/art1
path ../../../../../dataset/result/dg_mmld/PACS/default/art1
Source domain: photo, cartoon, sketch, Target domain: art_painting
Train: 7148, Val: 795, Test: 2048
args.model caffenet
Thanks for making your code public. I had a question about the loss function mentioned in the paper versus what has been implemented in the code:
However, in the implementation I find the following:
Line 44 in bfd5942
I am trying to understand how to correlate the two. I would appreciate it if you could provide more details on how the implementation matches the equation in the paper.
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.