Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V0.3 pretrained rep fix #64

Merged
merged 3 commits into from Jul 3, 2023

Conversation

MBronars
Copy link
Contributor

@MBronars MBronars commented Jul 3, 2023

Allows Sequential class to be created with torch.nn modules that don't have output shapes defined

@@ -88,11 +88,15 @@ class Sequential(torch.nn.Sequential, Module):
"""
Compose multiple Modules together (defined above).
"""
def __init__(self, *args):
def __init__(self, *args, has_output_shape = True):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add small docstring here please

@amandlek amandlek merged commit bbfab6e into ARISE-Initiative:v0.3 Jul 3, 2023
amandlek added a commit that referenced this pull request Jul 4, 2023
* colab links in readme and docs

* move colab link to getting_started in docs, add colab banner in readme

* basic support for logging warnings

* wandb logging; revamped warning logging; macros

* addressed PR comments; moved wandb proj name to experiments.logging section; hyperparam generator populates tags

* change tags to meta. add wandb api key to macros

* check that Macros.WANDB_ENTITY is not None

* fix depth unprocessing, fix config modality handling

* limit torch threads

* space saving options in dataset extraction script

* changes to make image uint8 to float conversion happen on GPU

* disable load next obs if BC

* small bug fix

* add storage flags to docs

* add some 2022 refs

* add viola

* add link to old docs on tab bar and logo into tab bar

* make sure kwargs are empty in default configs for easy override

* move some models into obs core file

* minor change

* work with older robosuite versions

* add some 2023 refs

* making validation hdf5 key explicit

* IQL implementation; todo: comments and testing

* revamped comments for IQL

* add minimal iql test and fix template

* added comments and tests; removed filter_type feature

* updated docs and configs for d4rl v2 envs; added iql results

* update iql template json config to reflect v0.3 changes

* generate iql configs for d4rl

* fixed small bug with d4rl
output dirs

* update version numbers for d4rl docs

* adding r3m and mvp pretraining

* clean

* add doc for pretrain

* fix

* revert change to env robosuite

* minor rename

* update pretrained reps tutorial

* fix minor issues

* small update to iql config

* small docs fix

* add orbit reference

* more 2023 papers

* working version of color jitter net

* add gaussian noise randomizer

* fix bug in GaussianNoiseRandomizer

* randomizer visualization

* center cropping for CropRandomizer eval mode

* viz randomizer

* move randomizers to obs_core.py

* remove dups

* remove dups

* missing import

* doc instruction for visualizing randomizer

* Fix tab issue

* update reqs with matplotlib

* modified docs for new datasets, new algos, wandb support

* add note about using offline_study datasets

* postprocess xml for v1.3

* update postprocess function

* added verification exps

* limit num torch threads

* updated dataset gen script

* mj211 verification runs

* started conversion script for robosuite v1.3.1. WIP

* initial conversion script ready

* add verion to env_robosuite; fix bug from observation modality PR

* added v_1_3_1 verification jsons

* converted lift dataset, wip on can

* playback with can appears working but state divergence still high

* all tasks minimally in place now without mujoco exceptions

* minimal script for robosuite v140 conversion; created configs

* updated robosuite v140 convertion script

* added version checks for robosuite

* update dataset registry to point to v141 raw datasets

* generating and downloading datasets for v141

* updated obs extraction script to use v141 robosuite datasets

* remove unsued scripts

* remove unnec script

* delete old verification scripts

* remove unnec changes

* add low_dim dataset links back in, more informative message for unstored datasets

* Transformer support (#38)

* initial BC-mingpt implementation

* added adamw and weight scheduler

* updated mingpt configs for sweep

* rename mingpt -> transformer

* cleaned up bc transformer in bc.py

* cleaned up code comments

* remove internal config gen scripts

* addressing Danfei's comments in PR

* update template configs and make some cosmetic changes

* add ack for mingpt

---------

Co-authored-by: Ajay Mandlekar <ajay.mandlekar@gmail.com>
Co-authored-by: amandlek <amandlek@users.noreply.github.com>

* bump version and minor docs update

* remove file

* some minor docs fixes for updated test_v141 hdf5

* small change to gitignore for test hdf5

* some minor docs fixes

* update 2023 refs

* Update obs_core.py with import

* Add wandb description in "viewing results" tutorial page

* added more wandb info to docs

* fix observation postprocessing for nested obs dicts

* added bc transformer tests

* V0.3 transformer tutorial (#59)

* added transformer tutorial

* Update bc_transformer.json

* Update bc_transformer.json

* Update training_transformers.md

* adjusting tutorial docs based on feedback

* changes to pretrained representations and transformer tutorial

* added data loader params for pretrained reps tutorial

---------

Co-authored-by: Bronars <mattbronars82@gmail.com>

* add readme note

* V0.3 pretrained rep fix (#64)

* fixed error in base_nets for R3MConv

* added error messages for Sequential

* added doc string for Sequential init

---------

Co-authored-by: Danfei Xu <danfeix@nvidia.com>
Co-authored-by: snasiriany <snasiriany@gmail.com>
Co-authored-by: josiah_wong <84cremebrule@gmail.com>
Co-authored-by: Soroush Nasiriany <sornasir324@gmail.com>
Co-authored-by: Soroush Nasiriany <snasiriany@users.noreply.github.com>
Co-authored-by: j96w <j96w@qq.com>
Co-authored-by: danfei <danfeiX@users.noreply.github.com>
Co-authored-by: MBronars <35738375+MBronars@users.noreply.github.com>
Co-authored-by: Bronars <mattbronars82@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants