Skip to content

The PyTorch implementation of "Learning Rational Subgoals from Demonstrations and Instructions" published at AAAI 2023.

License

Notifications You must be signed in to change notification settings

C-SUNSHINE/RSG-PyTorch-Release

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Learning Rational Subgoals from Demonstrations and Instructions

This repository is the implementation of "Learning Rational Subgoals from Demonstrations and Instructions" published at AAAI 2023.

Requirements

Environment has been specified by rsg.yml

Training

To train the model(s) in the paper, run this command:

./scripts/train_all.sh

Evaluation

To evaluate the models (including classification, and planning with instructions/final goal), run:

./scripts/eval_all.sh

Datasets

The datasets will be automatically generated when training models. To force re-generate datasets, add argument --force_regen in scripts/train_all.py or scripts/eval_all.py when calling projects/rsg/scripts/learn_classifier.py.

About

The PyTorch implementation of "Learning Rational Subgoals from Demonstrations and Instructions" published at AAAI 2023.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published