nf-core / deepmodeloptim

Stochastic Testing and Input Manipulation for Unbiased Learning Systems
https://nf-co.re/deepmodeloptim
MIT License
23 stars 9 forks source link

Improving TorchDataset #33

Closed mathysgrapotte closed 7 months ago

mathysgrapotte commented 8 months ago

Currently, TorchDataset makes many function calls, this is most likely not efficient. It should either have a lazy loading functionality that allows it to load from csv per batch using the CsvLoader and then make the changes on the fly (if low memory) OR should transform all the data into tensors in setup.