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

[HOWTO] Filter and visualize a sequence for a particular road agent. #36

Open
owoshch opened this issue Feb 7, 2022 · 1 comment
Open

Comments

@owoshch
Copy link

owoshch commented Feb 7, 2022

Hi!

I'm trying to create a visualization tool to produce video sequences like the one you provided on the official website: https://research.yandex.com/shifts/static/images/illus/motion-prediction-video.mp4

To do so, I need to find all frames corresponding to a certain scene. In the example.ipynb notebook In[18] you provided a useful filter that helps to filter out the scenes based on tags. However, it seems that it's impossible to use such a filter to get particular scene_id.

Could you please suggest the best way to incorporate such a filter to get all the frames corresponding to a sequence displaying a certain agent moving in a certain scene?

Thank you!

@gchesnokov
Copy link
Collaborator

Hi! One of the options would be to iterate over the raw scenes protos using scenes_generator to find the scene of the interest. Also note the pre-rendered image filenames are {scene_id}_{request_track_id}.npy. So you can grep the filenames to identify the subfolder your scene is located in. It might save some time on iterations.

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

No branches or pull requests

2 participants