Skip to content

How to run the benchmark? #21

@yanmiao2

Description

@yanmiao2

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions