-
Notifications
You must be signed in to change notification settings - Fork 373
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
feature(zc): add plan diffuser #700
Conversation
config = Path(__file__).absolute().parent.parent / 'config' / args.config | ||
config = read_config(str(config)) | ||
config[0].exp_name = config[0].exp_name.replace('0', str(args.seed)) | ||
serial_pipeline_offline(config, seed=args.seed) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
set max_train_iter
@@ -0,0 +1,617 @@ | |||
from typing import Union, List, Dict |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you can add some unit tests to make the code easier to understand.
And it's convenient to check the rightness for each module.
else: | ||
return noise | ||
|
||
def q_posterior(self, x_start, x_t, t): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add comments and use cases
This PR have been manually merged. |
|
||
parser = argparse.ArgumentParser() | ||
parser.add_argument('--seed', '-s', type=int, default=10) | ||
parser.add_argument('--config', '-c', type=str, default='hopper_expert_cql_config.py') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
默认config应该改成plan diffuser相关的
Description
add plan diffuser, add normalizer, add dataset
Related Issue
TODO
Check List