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

How to run the benchmark? #21

Open
yanmiao2 opened this issue Aug 16, 2021 · 1 comment
Open

How to run the benchmark? #21

yanmiao2 opened this issue Aug 16, 2021 · 1 comment

Comments

@yanmiao2
Copy link

Hi developers,

Could you provide a simple tutorial on how to run certain benchmark?

Here's what I've tried but didn't work(folder is created but no data is being recorded, simulator also not popping up)

import functools
from oatomobile.benchmarks.carnovel.benchmark import carnovel
from oatomobile.baselines.rulebased.autopilot.agent import AutopilotAgent

agent_fn = functools.partial(
    AutopilotAgent,
    # More configs
)

carnovel.evaluate(agent_fn, log_dir='log/', subtasks_id='AbnormalTurns0-v0', monitor=False, render=False)
@JaiChandak
Copy link

Hi, did you figure out how to do it in the end? I'm also stuck where you were.

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

No branches or pull requests

2 participants