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

Pre-Processing the Original Dataset #22

Open
Dengj618 opened this issue Aug 11, 2023 · 1 comment
Open

Pre-Processing the Original Dataset #22

Dengj618 opened this issue Aug 11, 2023 · 1 comment

Comments

@Dengj618
Copy link

hi @magehrig, There were some problems when I ran the preprocess_datasets.py file, and the data I generated was a little different from what you provided.
Such as

  1. labels_v2\ timestamps_us.npy. There is a slight difference between the data shape and the value of this file. Maybe the difference doesn't matter.
    c311f875d3bf224ee3a7044650e267c

  2. The difference between timestamps_us.npy in the event representations v2 folder may be important.
    9e231287185b49c5128bbcfe943ba31

Could you explain the meaning of the data under the event_representations_v2 and labels_v3 folders? This would help me train my data set. Thanks!

@magehrig
Copy link
Contributor

Hi @Dengj618

For the Gen4 dataset you should be able to exactly replicate with the provided script. For the Gen1 dataset you might get slightly different data because I had to refactor the script and it seems that you are looking at the Gen1 dataset.

event_representations_v2:

  • event_representations.h5: Contains the event representations. The data is in format of (Time Channel Height Width).
  • objframe_idx_2_repr_idx.npy: A map of label index to representation index. E.g. I have label 42 and I want to know to which event representation this label belongs to I can just do objframe_idx_2_repr_idx[42] which gives me the index belonging to the event representation.
  • timestamps_us.npy: Timestamps of the event representations

labels_v2:

  • labels.npz: The labels
  • timestamps_us.npy: The timestamps belonging to these labels.

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