Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preprocess is killed while trying to save data_all (get_99plus_features_raw.py) #25

Open
mfinster1 opened this issue Mar 11, 2022 · 0 comments

Comments

@mfinster1
Copy link

Hi all,

while running the preprocess.py the preprocess is always killed if it tries to save
"data_all" by np.save(os.path.join(HRDIR, 'DB_merged_%dhrs.npy' % hrs), data_all)
created by the method "collect_admissions_with_more_than_hrs(hrs)" defined in preprocessing/steps/get_99plus_features_raw.py.

After checking "data_all" I realized that it is a double-nested list with differing number of elements.
E.g.: Element data_all[0] has 345 elements. Each of its element is also a list with 142 elements. But data_all[1] has 168 elements of which each has 142 elements. Many of them are "None".

I am looking forward to hear from you. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant