tonic icon indicating copy to clipboard operation
tonic copied to clipboard

Spiking Tactile MNIST dataset

Open biphasic opened this issue 1 year ago • 9 comments

https://arxiv.org/abs/2005.04319

biphasic avatar Aug 11 '22 17:08 biphasic

@biphasic do you think we can try to use data pipes (#201) for this dataset?

fabrizio-ottati avatar Aug 11 '22 19:08 fabrizio-ottati

That's a great idea :) Do you maybe want to look into this together during a hack session? We could check out how PyTorch data works

biphasic avatar Aug 12 '22 07:08 biphasic

Definitely!

fabrizio-ottati avatar Aug 12 '22 10:08 fabrizio-ottati

@biphasic did you take a look at the paper? I am looking at the dataset and I have found a strange timestamp expressed in seconds: image That's some CERN-like time resolution right there :) I was thinking about using microseconds timestamps (i.e. multiplying that value by 1e6), but what to do with those additional digits? I would simply discard them.

fabrizio-ottati avatar Aug 19 '22 17:08 fabrizio-ottati

thanks for looking into this. Yes this looks like second resolution, please go ahead as you suggested! It's clearer for users if all timestamps in tonic are microseconds.

biphasic avatar Aug 19 '22 17:08 biphasic

Moreover, some samples have multiple events (at most 2) associated to the same timestamp. How is it better to handle this? Should I decouple the event in multiple events with the same time stamp?

fabrizio-ottati avatar Aug 19 '22 18:08 fabrizio-ottati

Should we put STMNIST in the documentation as experimental?

fabrizio-ottati avatar Aug 26 '22 16:08 fabrizio-ottati

Yes a good idea! We just need to find a way to document how to use it. Maybe a readme.md in the tonic.prototype folder? The current datasets.rst in the docs folder only includes classes that are part of the package, but the prototypes folder is not part of the package. I would say either the readme and then people have to check it on GitHub or we include the prototypes in the package and then we might get to render docstrings in the documentation on readthedocs. I say it's your call :)

Le 26 août 2022 17:20:58 GMT+01:00, Fabrizio Ottati @.***> a écrit :

Should we put STMNIST in the documentation as experimental?

-- Reply to this email directly or view it on GitHub: https://github.com/neuromorphs/tonic/issues/210#issuecomment-1228690284 You are receiving this because you were mentioned.

Message ID: @.***> -- Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.

biphasic avatar Aug 27 '22 22:08 biphasic

Well, I would say that a README for now is enough :) When torchdata will be stable, we will think about including it in the package official documentation.

fabrizio-ottati avatar Aug 28 '22 10:08 fabrizio-ottati

I would say this works now, doesn't it?

biphasic avatar Sep 04 '22 07:09 biphasic

I would say so!

fabrizio-ottati avatar Sep 04 '22 07:09 fabrizio-ottati