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

Time-Space Diagrams automatically to S3 #993

Merged
merged 6 commits into from
Jul 8, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
only plot if to_aws flag is on
liljonnystyle committed Jul 8, 2020

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 8895ff8b7880f0c41cd595ea33e41b2b66ce5a92
6 changes: 3 additions & 3 deletions flow/core/experiment.py
Original file line number Diff line number Diff line change
@@ -232,13 +232,13 @@ def rl_actions(*_):

write_dict_to_csv(trajectory_table_path, extra_info)
write_dict_to_csv(metadata_table_path, metadata, True)
tsd_main(trajectory_table_path,

if to_aws:
tsd_main(trajectory_table_path,
{'network': self.env.network.__class__},
min_speed=0,
max_speed=10,
start=self.env.env_params.warmup_steps)

if to_aws:
upload_to_s3('circles.data.pipeline',
'metadata_table/date={0}/partition_name={1}_METADATA/{1}_METADATA.csv'.format(cur_date,
source_id),