From 0b4b65cb3d88ac4818e71ccef0bded3ddee0683c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89tienne=20Simon?= Date: Wed, 6 May 2015 11:54:52 -0400 Subject: Fix floatX!=float32 in hdf5 creation --- data/init_valid.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'data/init_valid.py') 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, } -- cgit v1.2.3