I just started playing with Theano, but I have a strange problem in Eclipse. I am trying to import a configuration module to run the sample code. Import works fine and I see that in the module.
Here is the simple code I'm trying to do:
from theano import config
print config
This works fine, and I get output like:
floatX (('float64', 'float32'))
Doc: Default floating-point precision for python casts
Value: float32
...
and a few more lines. Unfortunately, if I use the following code, I get the variable "undefined from import" -error for floatX:
from theano import config
print config.floatX
This only happens in Eclipse. In the console, I get "float32", which is the correct output. Any idea why this is happening, and how can I make me appreciate the value of this variable? Thank!
System: OSX 10.9.2 / Python: 2.7.6 (install Macports) / Theano: 0.6.0 (install Macports) / Eclipse: Kepler 2 service