Skip to content

Preprocessing of the MVSEC dataset skips all data #1

Description

@vbrebion

Hi!

Thank you very much for your work and for taking the time to release the associated code!

I am currently trying to preprocess the MVSEC dataset using your MVSEC_to_frames_clear.py script.
However, all data seems to be skipped, and no output file is produced.

To give a bit more details, the code keeps outputting messages similar to the following one:

- Skipping ts: 10 ||| 1506117902840734 ||| num_patches tensor([[0]]) ||| skipped 9

Looking into the code, it seems that num_patches is always 0, which itself is due to iter_events_repr.sum() also always being 0.
Looking further into the events_to_frames.process_event_stream function, the issue seems to come from the computation of diff (line 61): maxTime is defined as 256000, while time_steps are ROS timestamps which have a value of around 1e+15. Therefore, diff will always be around -1e+15, making the values in frames being zeroed out (lines 63-64).

Have I made a mistake somewhere, or is there an issue with the code?

Best regards,
Vincent

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions