Open ritwik12 opened 4 years ago
As per #7 , Make predictions give errors for various tensors as expected dtype double does not equal original dtype float. With suggestions from @caitlynlee Forcing tensors to be floats instead of doubles in astronet/predict.py solves the issue.
expected dtype double does not equal original dtype float
astronet/predict.py
115: global_view = preprocess.global_view(time, flux, FLAGS.period).astype(np.float32) ... 120: local_view = preprocess.local_view(time, flux, FLAGS.period, FLAGS.duration).astype(np.float32)
dont work for me
@themison What errors do you see?
As per #7 , Make predictions give errors for various tensors as
expected dtype double does not equal original dtype float
. With suggestions from @caitlynlee Forcing tensors to be floats instead of doubles inastronet/predict.py
solves the issue.