Coder Social home page Coder Social logo

domain-shift-benchmark's Introduction

domain-shift-benchmark

Quickstart

You'll probably want to first install KitchenShift, the environment we use in our paper, forked from adept_envs.

pip install -r requirements.txt
pip install -e .

To run behavioral cloning:

python tools/run_experiment.py exp_compare_bc -p experiments/domain_shift_benchmark/ -s 0 1 2 3 -w 0 1 2 3 -v 0

This starts 4 runs on each of 4 GPUs for variant 0 from exp_compare_bc.py, see the _VARIANTS_ variable in the experiment file for a list of the models. The random seeds used are specified by _SEEDS_. The run logs will be located in _EXP_DIR + /{MODEL}/run_seed{SEED}.

References

[1] Our paper

@inproceedings{xing2021kitchenshift,
    title={KitchenShift: Evaluating Zero-Shot Generalization of Imitation-Based Policy Learning Under Domain Shifts},
    author={Xing, Eliot and Gupta, Abhinav and Powers*, Sam and Dean*, Victoria},
    booktitle={NeurIPS 2021 Workshop on Distribution Shifts: Connecting Methods and Applications},
    year={2021},
    url={https://openreview.net/forum?id=DdglKo8hBq0}
}

domain-shift-benchmark's People

Contributors

etaoxing avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

domain-shift-benchmark's Issues

How to configure and use 1003c6r256_absvel dataset?

Thank you for your great work!
After I ran the command you provided
python tools/run_experiment.py exp_compare_bc -p experiments/domain_shift_benchmark/ -s 0 1 2 3 -w 0 1 2 3 -v 0
It seems that the result is just one more folder appears as following.
image
I noticed that the README didn't mention the configuration method on how to use the dataset you provided in kitchen-shift.
Could you please give me some advice on how to use the dataset 1003c6r256_absvel you provided in kitchen-shift in domain-shift-benchmark ?
Thank you very much !

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.