I just started playing around with Theano but have a strange problem in Eclipse. I am trying to import the config module to run some example code. The import works fine and I can see what's in the module.
Here is the simple code I am trying:
from theano import config
print config
This works fine and I get an output like:
floatX (('float64', 'float32'))
Doc: Default floating-point precision for python casts
Value: float32
...
and some more lines like that. Unfortunately if I use the following code, I get an "undefined variable from import"-error for the floatX:
from theano import config
print config.floatX
This is only happening in Eclipse. In the console I get "float32", which is the correct output. Any idea why this is happening and how I can get to give me the value behind that variable? Thank you!
System: OSX 10.9.2 / Python: 2.7.6 (Macports installation) / Theano: 0.6.0 (Macports installation) / Eclipse: Kepler Service Release 2