Skip to content

[rllib] h5 export format is not supported #9316

@mcrowson

Description

@mcrowson

What is the problem?

I'm calling tune.run, but no file is being output in the local_dir.

ray: 0.8.6
tensorflow: 2.2.0
Arch Linux

Reproduction

Tune it and ask for the h5

from ray import tune
from ray.rllib.agents.ppo import PPOTrainer
tune.run(PPOTrainer,
         config={"env": "CartPole-v0"},
         export_formats=['h5'],
         local_dir='cart_outputs',
         stop={"training_iteration": 1}
)

See outputs in local_dir

> tree cart_outputs
cart_outputs
└── PPO
    ├── experiment_state-2020-07-06_09-17-52.json
    └── PPO_CartPole-v0_0_2020-07-06_09-17-52g7nd9506
        ├── events.out.tfevents.1594041472.refindly-arch
        ├── params.json
        ├── params.pkl
        ├── progress.csv
        └── result.json

2 directories, 6 files

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issue moderate in impact or severityenhancementRequest for new feature and/or capabilitygood-first-issueGreat starter issue for someone just starting to contribute to RayrllibRLlib related issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions