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 with generate_sensor_dataset_visualizations.py #86

Closed
DuZzzs opened this issue Aug 11, 2022 · 3 comments
Closed

Error with generate_sensor_dataset_visualizations.py #86

DuZzzs opened this issue Aug 11, 2022 · 3 comments
Labels
question Further information is requested

Comments

@DuZzzs
Copy link
Contributor

DuZzzs commented Aug 11, 2022

Hi, when i run python tutorials/generate_sensor_dataset_visualizations.py -d /xxx/av2, I got the error: FileNotFoundError: [Errno 2] Failed to open local file '/xxx/av2/test/0c6e62d7-bdfa-3061-8d3d-03b13aa21f68/annotations.feather'. Detail: [errno 2] No such file or directory. The test set has no label. Why is it not filtered out in the code? What is the correct command to run this py file? Thanks.

@DuZzzs
Copy link
Contributor Author

DuZzzs commented Aug 11, 2022

After filtering out the test data like the following code, I got the correct boxes.

  if self.with_annotations:
      sensor_cache = sensor_cache[sensor_cache.split != 'test']

There is another problem. I want to use 3d_lane for training, but the left and right boundary types of some lanes are inconsistent, such as ls.left_mark_type: LaneMarkType.SOLID_YELLOW, ls.right_mark_type:LaneMarkType.SOLID_WHITE(val, log_id = "4c33fc38-5e59-34f8-96ba-4e5a404d3988"), which one should I choose?

@benjaminrwilson
Copy link
Collaborator

Hi @DuZzzs,

Hi, when i run python tutorials/generate_sensor_dataset_visualizations.py -d /xxx/av2, I got the error: FileNotFoundError: [Errno 2] Failed to open local file '/xxx/av2/test/0c6e62d7-bdfa-3061-8d3d-03b13aa21f68/annotations.feather'. Detail: [errno 2] No such file or directory. The test set has no label. Why is it not filtered out in the code? What is the correct command to run this py file? Thanks.

Yes, those files should be filtered if trying to visualize the test dataset input data. Would you mind submitting a PR with your fix?

There is another problem. I want to use 3d_lane for training, but the left and right boundary types of some lanes are inconsistent, such as ls.left_mark_type: LaneMarkType.SOLID_YELLOW, ls.right_mark_type:LaneMarkType.SOLID_WHITE(val, log_id = "4c33fc38-5e59-34f8-96ba-4e5a404d3988"), which one should I choose?

This scenario might be possible (perhaps the road was missing one of the lines). It would be good to visualize, though.

@DuZzzs
Copy link
Contributor Author

DuZzzs commented Aug 12, 2022

@benjaminrwilson Thanks. I'll try later. Is there a reference code for this kind of picture in the readme?
image

@wqi wqi added the question Further information is requested label Aug 25, 2022
@DuZzzs DuZzzs closed this as completed Sep 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants