huawei-noah / SMARTS

Scalable Multi-Agent RL Training School for Autonomous Driving
MIT License
925 stars 186 forks source link

[Bug Report] ScenarioMetadata requires keyword arguments, causing many errors during scenario construction #2057

Closed lurenlym closed 1 year ago

lurenlym commented 1 year ago

High Level Description

2037 ScenarioMetadata is required to use keyword arguments, like this:

scenario_metadata=ScenarioMetadata(`
actor_of_interest_re_filter="Leader-007",
actor_of_interest_color=Colors.Blue,
)

but many scenarios, like this one, still use positional arguments, which will lead to a TypeError during construction.

Version

master

Steps to reproduce the bug

use another scenario to train a rl model

System info

ubuntu 18.04

Error logs and screenshots

1686109769244

Impact (If known)

No response

Adaickalavan commented 1 year ago

Hi @lurenlym,

This issue will be fixed by PR #2044 when it is merged.