Giter Site home page Giter Site logo

clvrai / sprint Goto Github PK

View Code? Open in Web Editor NEW
10.0 10.0 1.0 94.89 MB

Code and website for for SPRINT: Scalable Policy Pre-Training via Language Instruction Relabeling

Python 54.50% Shell 0.12% C 38.21% Lex 0.35% Makefile 0.10% PDDL 3.94% Yacc 2.57% Jupyter Notebook 0.21%

sprint's People

Contributors

jesbu1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

jiahui-3205

sprint's Issues

Question about computing the reward in PickupObjectAction()

Hi,
"Hi, I'm evaluating the EVAL Instruction environment and noticed that in some tasks, the reward does not equal 1 even after the agent completes a skill.

For example, in "pick_two_obj_and_place-PotatoSliced-None-SinkBasin-13/trial_T20190908_181751_435129" with 9 skills required (in this line), the agent initially attempts to pick up a knife from the counter's corner.

There are two knives at this location (Figure below), and ideally, picking up either shoud get a reward of 1. However, the reward function only returns 1 when picking the correct one based on the expert's demonstration, i.e., the innermost knife (see this line), while the outermost knife is also possible (and in your code, the agent selected the outermost one since it's closer distance, in here).

So, I think the agent will always fail in this scene. Do you have any idea to fix this situation?

knifes_in_counter

Hyperparameter for pretraining primitive skills

Thank you for sharing the code.

I'm trying to pretrain primitive skills using IQL. I confused about the batch size you used for pretraining. In the paper, you mentioned bs=1024, however, in both code and released checkpoints, it's 64. So what exact batch size do you use for pretraining?

And, could you share the hardware spec you used for pretraining and how long it takes for pretraining?

Thank you.

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.