Comments (2)
You can do
CUDA_VISIBLE_DEVICES=0 python tools/train.py \
--root $DATA \
--trainer MME \ # or MCD
--source-domains amazon \ # you can also do "--source-domains amazon dslr" for multi-source setting
--target-domains webcam \
--dataset-config-file configs/datasets/da/office31.yaml \
--config-file configs/trainers/da/source_only/office31.yaml \ # note here we simply load the training params from source_only
--output-dir output/mme_office31_amazon2webcam \
TRAINER.MME.LMDA 0.1 # here you add optional arguments to manage method-specific params, same for MCD
Or create a cfg file specific for MME/MCD
See here for method-specific parameters
I'll add a more detailed instruction in the near future (let me know if you have any suggestions)
from dassl.pytorch.
Thank you.
from dassl.pytorch.
Related Issues (20)
- Why is there no implementation of L2A-OT? HOT 2
- Terra Incognita
- How to download "Synthetic Numbers" of Digits-DG?
- Run SimCLR using Dassl HOT 1
- Feature Request: Implementation of SSDA like data loaders HOT 2
- Replication Parameters and How to use MixStyle and EFDM HOT 1
- Issue with FixMatch training on customs datasets HOT 4
- warnings.warn('No file found at "{}"'.format(fpath)) HOT 1
- use adabn.py HOT 1
- Gradient Accumulation Support HOT 2
- How to register the name into "TRAINER" registry'? I think I did everything correctly HOT 2
- TypeError: unsupported format string passed to NoneType.__format__ HOT 2
- dg dataset in vlcs
- RuntimeError Occur When Using DDAIG Model
- ImportError: dlopen: cannot load any more object with static TLS
- how to train from a checkpoint?
- Can I use the Dassl in Horovod frame?
- Set different learning rate
- How can I change the vision encoder and text encoder to custom pretrained clip vision encoder and text encoder?
- add CUB-200-2011 to CoOp, display error causes an error to run HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dassl.pytorch.