Giter VIP home page Giter VIP logo

mini-batch-ot's Introduction

BoMb-OT

Python 3.9 Pytorch 1.10.1 License MIT

Official Python3 implementations of ICML papers On Transportation of Mini-batches: A Hierarchical Approach and Improving Mini-batch Optimal Transport via Partial Transportation.

Details of the model architecture and experimental results can be found in our following papers:

@InProceedings{nguyen2021transportation,
    title={On Transportation of Mini-batches: A Hierarchical Approach}, 
    author={Khai Nguyen and Dang Nguyen and Quoc Nguyen and Tung Pham and Hung Bui and Dinh Phung and Trung Le and Nhat Ho},
    booktitle={Proceedings of the 39th International Conference on Machine Learning},
    year={2022},
}
@InProceedings{nguyen2021improving,
    title={Improving Mini-batch Optimal Transport via Partial Transportation}, 
    author={Khai Nguyen and Dang Nguyen and Tung Pham and Nhat Ho},
    booktitle = {Proceedings of the 39th International Conference on Machine Learning},
    year={2022},
}

Please CITE our papers whenever this repository is used to help produce published results or incorporated into other software.

This implementation is made by Khai Nguyen and Dang Nguyen. README is on updating process.

Requirements

The code is implemented with Python (3.9) and Pytorch (1.10.1).

To install the required python packages, run

pip install -r requirements.txt

What is included?

The scalable implementation of the batch of mini-batches scheme and the conventional averaging scheme of mini-batch transportation types: optimal transport (OT), partial optimal transport (POT), unbalanced optimal transport (UOT), and sliced optimal transport for:

  • Deep Generative Models
  • Deep Domain Adaptation
  • Approximate Bayesian Computation
  • Color Transfer
  • Gradient Flow

Acknowledgment

The structure of DeepDA is largely based on JUMBOT and ALDA. The structure of ABC is largely based on SlicedABC. We are very grateful for their open sources.

mini-batch-ot's People

Contributors

hsgser avatar khainb avatar rachitkeertidas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

mini-batch-ot's Issues

Missing History DB Initialization

Dear Authors,

This issue pertains to the ABC section of this repository.
While trying to run the code to reproduce some of the results, we ran into issues with pyabc's History DB needing initialization.
This needs a call to abc.new() which is missing in the current version. However, this call was present in the initial commit.

We believe that this by removed by mistake in the reformatting commit (08ee44f).
I'll file a PR shortly for fixing this issue, along with some other minor fixes which helped us run the code.
We thank you very much for providing this repository.

Thanks and Regards,
Rachit.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.