mitmedialab / vizml

Plotly dataset-visualization pairs, feature extraction scripts, and model training code for VizML (CHI 2019)
https://vizml.media.mit.edu
104 stars 28 forks source link

NaN values in feature files before training neural network #3

Open gj0706 opened 5 years ago

gj0706 commented 5 years ago

After implementing extract.py in feature_extraction folder, I tried to run agg.py in neural_network folder but got ValueError("Input contains NaN").

Do you have any instruction on how to handle the NaN values? I tried preprocess.py in preprocessing folder but got an error : FileNotFoundError: [Errno 2] File b'../features/raw/processed/included_fids.csv' does not exist: b'../features/raw/processed/included_fids.csv'

Do you have any idea why this happened? Thank you!

mauk95 commented 3 years ago

I also get NaN values in feature files generated by extract.py in raw/ folder. The downloaded feature files don't contain NaNs. Don't get this either.