All Projects → eveningdong → DAOSL

eveningdong / DAOSL

Licence: other
Implementation of Domain Adaption in One-Shot Learning

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to DAOSL

Slim themes
A Beautiful Collection Of SLiM Themes.
Stars: ✭ 148 (+957.14%)
Mutual labels:  slim
basepath
Base path detector for Slim 4
Stars: ✭ 36 (+157.14%)
Mutual labels:  slim
transfertools
Python toolbox for transfer learning.
Stars: ✭ 22 (+57.14%)
Mutual labels:  domain-adaptation
Assetchecker
👮Sanitize your Assets.xcassets files
Stars: ✭ 167 (+1092.86%)
Mutual labels:  slim
Slim4 Skeleton
A Slim 4 Skeleton
Stars: ✭ 237 (+1592.86%)
Mutual labels:  slim
MGAN
Exploiting Coarse-to-Fine Task Transfer for Aspect-level Sentiment Classification (AAAI'19)
Stars: ✭ 44 (+214.29%)
Mutual labels:  domain-adaptation
Dry View
Complete, standalone view rendering system that gives you everything you need to write well-factored view code.
Stars: ✭ 124 (+785.71%)
Mutual labels:  slim
gpl
Powerful unsupervised domain adaptation method for dense retrieval. Requires only unlabeled corpus and yields massive improvement: "GPL: Generative Pseudo Labeling for Unsupervised Domain Adaptation of Dense Retrieval" https://arxiv.org/abs/2112.07577
Stars: ✭ 216 (+1442.86%)
Mutual labels:  domain-adaptation
Fengniao
A command line tool for cleaning unused resources in Xcode.
Stars: ✭ 2,852 (+20271.43%)
Mutual labels:  slim
middleman-snippets
⚡ Library of commonly used snippets for Middleman websites
Stars: ✭ 27 (+92.86%)
Mutual labels:  slim
Tf featureextraction
Convenient wrapper for TensorFlow feature extraction from pre-trained models using tf.contrib.slim
Stars: ✭ 169 (+1107.14%)
Mutual labels:  slim
Ruby2 Rails4 Bootstrap Heroku
A starter application based on Ruby 2.4, Rails 4.2 and Bootstrap for Sass 3, deployable on Heroku
Stars: ✭ 181 (+1192.86%)
Mutual labels:  slim
SSTDA
[CVPR 2020] Action Segmentation with Joint Self-Supervised Temporal Domain Adaptation (PyTorch)
Stars: ✭ 150 (+971.43%)
Mutual labels:  domain-adaptation
Rest Api Slim Php
Example of REST API with Slim PHP Framework.
Stars: ✭ 165 (+1078.57%)
Mutual labels:  slim
G-SFDA
code for our ICCV 2021 paper 'Generalized Source-free Domain Adaptation'
Stars: ✭ 88 (+528.57%)
Mutual labels:  domain-adaptation
Slim
Slim is a PHP micro framework that helps you quickly write simple yet powerful web applications and APIs.
Stars: ✭ 11,171 (+79692.86%)
Mutual labels:  slim
TA3N
[ICCV 2019 Oral] TA3N: https://github.com/cmhungsteve/TA3N (Most updated repo)
Stars: ✭ 45 (+221.43%)
Mutual labels:  domain-adaptation
Unlearning for MRI harmonisation
Code for implementation of Unlearning Scanner Bias for MRI Harmonisation
Stars: ✭ 22 (+57.14%)
Mutual labels:  domain-adaptation
pykale
Knowledge-Aware machine LEarning (KALE): accessible machine learning from multiple sources for interdisciplinary research, part of the 🔥PyTorch ecosystem
Stars: ✭ 381 (+2621.43%)
Mutual labels:  domain-adaptation
pytorch-revgrad
A minimal pytorch package implementing a gradient reversal layer.
Stars: ✭ 142 (+914.29%)
Mutual labels:  domain-adaptation

Domain Adaption in One-Shot Learning

Implementation of Domain Adaption in One-Shot Learning.

Paper

You can find our paper at Springer or PDF.

Citation

If you find DAOSL useful in your research, please consider to cite:

@inproceedings{dong2018domain, title={Domain adaption in one-shot learning}, author={Dong, Nanqing and Eric P. Xing}, booktitle={Joint European Conference on Machine Learning and Knowledge Discovery in Databases}, pages={573--588}, year={2018}, organization={Springer} }

Setup

Requirements

python 3.5
tensorflow 1.8
CUDA  9.0
cuDNN 7.0

Installation

sh setup.sh

Training

Train one-shot classifier for 5-way 1-shot learning.

python3 convert_data.py --data-name=omniglot
python3 convert_data.py --data-name=emnist --num-target-examples=20
python3 train_one_shot.py --exp-name=one_shot --source=omniglot --target=emnist_20 --num-ways=5

Train adversarial domain adaption (ADA) for 5-way 1-shot learning.

python3 convert_data.py --data-name=omniglot
python3 convert_data.py --data-name=emnist --num-target-examples=20
python3 train_ada.py --exp-name=ada --source=omniglot --target=emnist_20 --num-ways=5 --la=0.001

Train adversarial domain adaption (ADA) with reinforced sample selection (RSS) for 5-way 1-shot learning.

python3 convert_data.py --data-name=chars
python3 convert_data.py --data-name=sim
python3 convert_data.py --data-name=dis
python3 train_rss.py --exp-name=rss --num-ways=5 --la=0.001 --gamma=0.1
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].