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

Error: nuScenes-lidarseg not installed #630

Closed
owoshch opened this issue Aug 3, 2021 · 10 comments
Closed

Error: nuScenes-lidarseg not installed #630

owoshch opened this issue Aug 3, 2021 · 10 comments

Comments

@owoshch
Copy link

owoshch commented Aug 3, 2021

Hi!

I went through the installation following the tutorial: https://github.com/nutonomy/nuscenes-devkit#nuscenes-lidarseg
Unfortunately, I'm still getting the error in this notebook: https://github.com/nutonomy/nuscenes-devkit/blob/master/python-sdk/tutorials/nuscenes_lidarseg_panoptic_tutorial.ipynb

I made sure that my /datasets/NuScenes/ folder is in the correct format. Could you please guide me which library is missing and how to install it?

nuscenes-lidarseg

nusc.list_lidarseg_categories(sort_by='count')

AssertionError Traceback (most recent call last)
in
1 # nuscenes-lidarseg
----> 2 nusc.list_lidarseg_categories(sort_by='count')

~/anaconda3/lib/python3.8/site-packages/nuscenes/nuscenes.py in list_lidarseg_categories(self, sort_by)
483
484 def list_lidarseg_categories(self, sort_by: str = 'count') -> None:
--> 485 self.explorer.list_lidarseg_categories(sort_by=sort_by)
486
487 def list_attributes(self) -> None:

~/anaconda3/lib/python3.8/site-packages/nuscenes/nuscenes.py in list_lidarseg_categories(self, sort_by)
645 class index.
646 """
--> 647 assert hasattr(self.nusc, 'lidarseg'), 'Error: nuScenes-lidarseg not installed!'
648 assert sort_by in ['count', 'name', 'index'], 'Error: sort_by can only be one of the following: '
649 'count / name / index.'

AssertionError: Error: nuScenes-lidarseg not installed!

@whyekit-motional
Copy link
Collaborator

Hi @owoshch, pls ensure you have the appropriate version of our devkit installed:

$ pip show nuscenes-devkit
Name: nuscenes-devkit
Version: 1.1.5
...

@owoshch
Copy link
Author

owoshch commented Aug 4, 2021

Hi @owoshch, pls ensure you have the appropriate version of our devkit installed:

$ pip show nuscenes-devkit
Name: nuscenes-devkit
Version: 1.1.5
...

I certainly do. I tried every version from 1.1.5 and lower and got the same result

@holger-motional
Copy link
Contributor

@owoshch We are currently rolling out the new panoptic challenge (https://www.nuscenes.org/panoptic) code and haven't updated the pip package yet. We will do so in the next few days. Can you download the source code directly from Github?

@owoshch
Copy link
Author

owoshch commented Aug 4, 2021

@owoshch We are currently rolling out the new panoptic challenge (https://www.nuscenes.org/panoptic) code and haven't updated the pip package yet. We will do so in the next few days. Can you download the source code directly from Github?

Thank you for the reply! I'm trying to do it and get the following error:

$ pip install git+https://github.com/nutonomy/nuscenes-devkit.git
Collecting git+https://github.com/nutonomy/nuscenes-devkit.git
Cloning https://github.com/nutonomy/nuscenes-devkit.git to /tmp/pip-req-build-_rhhx1un
Running command git clone -q https://github.com/nutonomy/nuscenes-devkit.git /tmp/pip-req-build-_rhhx1un
ERROR: Command errored out with exit status 1:
command: /home/fkitashov/anaconda3/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-_rhhx1un/setup.py'"'"'; file='"'"'/tmp/pip-req-build-_rhhx1un/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-q0bcg0vx
cwd: /tmp/pip-req-build-_rhhx1un/
Complete output (5 lines):
Traceback (most recent call last):
File "", line 1, in
File "/home/fkitashov/anaconda3/lib/python3.8/tokenize.py", line 392, in open
buffer = _builtin_open(filename, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-req-build-_rhhx1un/setup.py'
----------------------------------------
WARNING: Discarding git+https://github.com/nutonomy/nuscenes-devkit.git. Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

@whyekit-motional
Copy link
Collaborator

@owoshch we just released version 1.1.6 of the devkit: https://pypi.org/project/nuscenes-devkit/1.1.6/

Do give it a shot and see if it works for you

@owoshch
Copy link
Author

owoshch commented Aug 5, 2021

@owoshch we just released version 1.1.6 of the devkit: https://pypi.org/project/nuscenes-devkit/1.1.6/

Do give it a shot and see if it works for you

It works, thank you!

@owoshch
Copy link
Author

owoshch commented Aug 24, 2021

Hi @whyekit-motional!
Am I right that NuScenes Panopric Challenge data has not been revealed yet and will be revealed in the upcoming 2 months?

@whyekit-motional
Copy link
Collaborator

Hi @owoshch, you should be able to download the nuScenes-panoptic dataset from https://www.nuscenes.org/download

Do let @lubing-motional or myself know if you do not see a download link on your end!

@owoshch
Copy link
Author

owoshch commented Aug 24, 2021

@whyekit-motional Thank you! I have successfully downloaded the dataset. Thank you for your work!

@whyekit-motional
Copy link
Collaborator

Credits to @lubing-motional for the nice nuScenes-panoptic dataset 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants