You’re using a csv file to load your data. Open the csv file and make sure none of the values have quotes around them(which turns them into a string and yields nan in an NN). When you open your csv file in a spreadsheet, make sure you check the box to detect complex math values(or whatever your spreadsheet editor calls it). For example, 3.0 E-5 will get converted to a string and saved as such if you do not.