diff options
author | Étienne Simon <esimon@esimon.eu> | 2015-05-06 11:54:52 -0400 |
---|---|---|
committer | Étienne Simon <esimon@esimon.eu> | 2015-05-06 11:55:26 -0400 |
commit | 0b4b65cb3d88ac4818e71ccef0bded3ddee0683c (patch) | |
tree | 75c0942dd20e73a6c4a67ab207e916f83c7d4bae /data/init_valid.py | |
parent | 35b4503ddd148b0c937468891dd0a7e9ff1c79f4 (diff) | |
download | taxi-0b4b65cb3d88ac4818e71ccef0bded3ddee0683c.tar.gz taxi-0b4b65cb3d88ac4818e71ccef0bded3ddee0683c.zip |
Fix floatX!=float32 in hdf5 creation
Diffstat (limited to 'data/init_valid.py')
-rwxr-xr-x | data/init_valid.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/data/init_valid.py b/data/init_valid.py index 14a854c..eed0059 100755 --- a/data/init_valid.py +++ b/data/init_valid.py @@ -6,7 +6,6 @@ import sys import h5py import numpy -import theano import data @@ -22,8 +21,8 @@ _fields = { 'missing_data': numpy.bool, 'latitude': data.Polyline, 'longitude': data.Polyline, - 'destination_latitude': theano.config.floatX, - 'destination_longitude': theano.config.floatX, + 'destination_latitude': numpy.float32, + 'destination_longitude': numpy.float32, 'travel_time': numpy.uint32, } |