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

Questions about dataset creation #7

Closed
AlexanderRadovic opened this issue Jan 5, 2021 · 3 comments
Closed

Questions about dataset creation #7

AlexanderRadovic opened this issue Jan 5, 2021 · 3 comments

Comments

@AlexanderRadovic
Copy link

AlexanderRadovic commented Jan 5, 2021

Hey, thanks for sharing your code! Is the code specifically for generating the SDD dataset public? I'm interested in playing around with different target times. Thanks!

@os1a
Copy link
Collaborator

os1a commented Jan 7, 2021

Thanks for your interest in our code.

We can share with you most of the processing code which results in obtaining the structure of our processed dataset including both the images and floats files.

I have added two files: extract_frames.py and parse_annotation.py. You need to run them in that order. This will create the structure of the dataset including images and floats files.

Then you need to write your own script which creates the scene.txt file for each scene. The structure of the scene.txt file is already explained in the README:
scene.txt: each line represent one testing sequence and has the following format: tracking_id img_0,img_1,img_2,img_future.

This can be created by iterating over the files (which are generated from the above two scripts) and then writing the scene.txt file in the format described above. Unfortunately our script for creating the scene.txt file operates on a private different strcuture and thus cannot be shared. However, writing your own script should not be too hard and you are welcome to write for clarification.

Best,

@AlexanderRadovic
Copy link
Author

Ah this is perfect, thanks so much for the rapid response! Skimming through the files, I think this is exactly what I needed.

Best,
-Alex

@os1a os1a closed this as completed Jan 18, 2021
@rafalk342
Copy link

@os1a
Can you explain a little more how scene.txt files were created? I understand the format and that first three frames are x, x + 15, x + 30 and the fourth is x + 180, but I don't know:

  • how are tracking_ids chosen and if they matter?
  • what determines the number of lines per file?
  • can it happen that in the fourth frame the object is out of the picture?

I also have one question regarding parse_annotation.py:

  • is it safe to filter occluded images? Can it cause some prediction problems when ground truth is occluded?

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

3 participants