nutonomy / nuscenes-devkit

The devkit of the nuScenes dataset.
https://www.nuScenes.org
Other
2.25k stars 623 forks source link

What about having `pycocotools` or `requirements_XXX.txt` other than `requirements_base.txt` in extra requirements? #736

Closed huxuan closed 2 years ago

huxuan commented 2 years ago

Cases that we only need nuscenes, it may not be necessary to have pycocotools as requirements.

We can have it as something like pip install nuscenes-devkit for nuscenes only and pip install nuscenes-devkit[nuimages] for pycocotools.

If OK, I will submit a PR for this.

holger-motional commented 2 years ago

Hi. What issues are you seeing with pycocotools? I think it would be good if the basic dataset features are supported out of the box.

huxuan commented 2 years ago

Hi @holger-motional, thanks for the quick reply.

The problem is that when I try to play ONLY with nuscenes there is some dependency conflict.

huxuan commented 2 years ago

BTW, the extra strategy should fit our needs as we currently commented out requirements for prediction and tracking. Not only for nuimages and pycocotools only.