NiftyNet icon indicating copy to clipboard operation
NiftyNet copied to clipboard

Feature request: CSV Reader

Open tomvars opened this issue 6 years ago • 1 comments

This issue is to track progress on new features for the CSVReader

The current version is in the refactoring-data-app branch. Its intended use is to be called within any Sampler such that the user can load CSV data as easily as they can load images. This data could be used as input to a network or as the target.

Features

  • [x] Read in CSV as network target
  • [x] Read in CSV as arbitrary features
  • [ ] Write a Sampler which uses information from a CSV to specify which patches to sample
  • [ ] Documentation
  • [ ] Tests

tomvars avatar Aug 09 '18 12:08 tomvars

perhaps leave a flexible interface for the advanced features as well:

  • [ ] Read in CSV as network targets of variable length sequences
  • [ ] Support preprocessing/data augmentation layers e.g. read in CSV network targets as texts and encode them as numerical vectors, like layer/discrete_label_normalisation.py

-- relevant issues:

  • https://cmiclab.cs.ucl.ac.uk/CMIC/NiftyNet/issues/88: Allow for patch sampling from GZip images without loading the full dataset Use this package: https://github.com/pauldmccarthy/indexed_gzip

  • https://github.com/NifTK/NiftyNet/issues/42

wyli avatar Aug 09 '18 14:08 wyli