motional / nuplan-devkit

The devkit of the nuPlan dataset.
https://www.nuplan.org
Other
704 stars 136 forks source link

Requirements - Hydra and Torchmetrics Version #47

Closed mh0797 closed 2 years ago

mh0797 commented 2 years ago

I had trouble running the tutorial. Turns out that the tutorial is not compatible with the most recent versions of torchmetrics and hydra-core

To get it to run, it's necessary to downgrade to torchmetrics==0.7.3 and hydra-core==1.1.1 I guess this should be added in the requirements

Errors: for torchmetrics: get_num_classes is missing in new versions for hydra-core: _resolve_target misses a second input argument full_key

bAmpT commented 2 years ago

The requirements should really include the package versions that are tested. I just had an issue with the metrics engine because I used a the scipy version that requires the savgol_filter to be used with odd window size only.

patk-motional commented 2 years ago

Hi all,

We've just recently updated the devkit and pinned versions for both torchmetrics and hydra-core. Please try reinstalling the devkit with the new requirements. Thank you for your patience!