libffcv / ffcv

FFCV: Fast Forward Computer Vision (and other ML workloads!)
https://ffcv.io
Apache License 2.0
2.81k stars 180 forks source link

label is list(), how to write? #194

Closed Nise-2-meet-U closed 2 years ago

Nise-2-meet-U commented 2 years ago

my training and testing labels are list format, e.g. [0.123, 0.321] how to make make them as ffcv format and write them to disk?

andrewilyas commented 2 years ago

I would recommend using the NDArrayField! See here for some example tutorials:

Nise-2-meet-U commented 2 years ago

thanks