neural.load is not used, since the R load function loads every object from the file anyway. But I do not see the reason of the error immediately in the code - you must debug it. The predict function seems to expect either the X array or the Preprs object in a different format, so the first step would be comparing the original object with the object read back from the file, and also checking the array.