Skip to content

Question about event timestamps. #7

@shiba24

Description

@shiba24

Hi, thank you for the dataset.

When I load the event npz file, the timestamp looks strange (all integers). What's the actual unit of the timestamp?

import numpy as np
fname = '/home/ubuntu/slocal/ssd_data/EventNeRF/data/lego/test1_events/test/events/out.npz'

with np.load(fname) as data:
    ts = data['t']

ts[:10]     # returns array([0, 0, 0, 0, 0, 0, 0, 0, 0, 0])
ts[-10:]    # returns array([999, 999, 999, 999, 999, 999, 999, 999, 999, 999])
len(np.unique(ts))  # returns 1000
ts.max()  # returns 999

I suspect that this integers [0-999] corresponds to the number of frames.
If that is the case, this dataset does not contain accurate event timestamps, but rather has the ones quantized to the frame IDs?

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