AI_Clinician icon indicating copy to clipboard operation
AI_Clinician copied to clipboard

OOM error loading `preadm_fluid.csv`

Open moberst opened this issue 5 years ago • 2 comments

@matthieukomorowski @moberst Sorry to bother you again. When I am running the AIClinician_sepsis3_def_160219.m, I got an error of this lineinputpreadm=table2array(readtable('D:/exportdir/preadm_fluid.csv')); because the first coloum is double while the second is cell. Then I change it to inputpreadm=table2cell(readtable('D:/exportdir/preadm_fluid.csv'));

And I still got an out of memory error, I ran the code on a 32GB Ubuntu. I am wondering how much memory will it cost?

Thanks!

Originally posted by @bywbilly in https://github.com/matthieukomorowski/AI_Clinician/issues/1#issuecomment-468052064

moberst avatar Mar 21 '19 17:03 moberst

This does not happen to me, but if you look at the code that generates that csv file, it puts NULL values in the second column for missing data. When I export to csv, these entries are just empty, and it loads into matlab just fine with table2array and has a pretty small memory footprint.

moberst avatar Mar 21 '19 17:03 moberst

@bywbilly

moberst avatar Mar 21 '19 17:03 moberst