You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to follow a udemy coarse and have Theano installed,
And I'm getting an error in cc.py
I'm using jupyter, and the error is raised in cell 14, notebook is attached in the zip file Deep Learning Grid Search (Jupyter Notebook).zip
i use iPython:3.5.5 with Numpy:1.15.2 besides theano.
I tried latest git versin of cc.py but without luck.
During handling of the above exception, another exception occurred:
ValueError Traceback (most recent call last)
in
37 # build and fit the GridSearchCV
38 grid = GridSearchCV(estimator = model, param_grid = param_grid, cv = KFold(random_state=seed), verbose = 10)
---> 39 grid_results = grid.fit(X_standardized, Y)
40
41 # summarize the results
//then some messages without errors and in the end it says
ValueError: ('The following error happened while compiling the node', Dot22(/dense_4_input, dense_4/kernel), '\n', 'invalid token "Files" in ldflags_str: "-L"C:\Program Files (x86)\Microsoft Visual Studio\Shared\Anaconda3_64\envs\tf\Library\bin" -lmkl_core -lmkl_intel_thread -lmkl_rt"')
The text was updated successfully, but these errors were encountered:
I think the notebook expect a different Theano version.
Or you have other library that extend Theano that where expecting a
diferrent Theano version.
Or you could have multiple Theano version installed and they conflict.
So I suggest this:
- Note your Theano version instlled.
- Uninstall it. Try to import Theano again. If it import, note the version
and uninstall again. Repeat until you do not find Theano again.
- Install the latest version of Theano (1.0.3)
- Try again
Hopefully, this should fix the problem.
I try to follow a udemy coarse and have Theano installed,
And I'm getting an error in cc.py
I'm using jupyter, and the error is raised in cell 14, notebook is attached in the zip file
Deep Learning Grid Search (Jupyter Notebook).zip
i use iPython:3.5.5 with Numpy:1.15.2 besides theano.
I tried latest git versin of cc.py but without luck.
Here is my error output :
TypeError Traceback (most recent call last)
C:\Program Files (x86)\Microsoft Visual Studio\Shared\Anaconda3_64\envs\tf\lib\site-packages\theano\gof\cc.py in compile_args(self)
965 try:
--> 966 ret += x.c_compile_args(c_compiler)
967 except TypeError:
TypeError: c_compile_args() takes 1 positional argument but 2 were given
AssertionError Traceback (most recent call last)
C:\Program Files (x86)\Microsoft Visual Studio\Shared\Anaconda3_64\envs\tf\lib\site-packages\theano\tensor\blas.py in _ldflags(ldflags_str, libs, flags, libs_dir, include_dir)
443 t0, t1, t2 = t[0:3]
--> 444 assert t0 == '-'
445 except Exception:
AssertionError:
During handling of the above exception, another exception occurred:
ValueError Traceback (most recent call last)
in
37 # build and fit the GridSearchCV
38 grid = GridSearchCV(estimator = model, param_grid = param_grid, cv = KFold(random_state=seed), verbose = 10)
---> 39 grid_results = grid.fit(X_standardized, Y)
40
41 # summarize the results
//then some messages without errors and in the end it says
ValueError: ('The following error happened while compiling the node', Dot22(/dense_4_input, dense_4/kernel), '\n', 'invalid token "Files" in ldflags_str: "-L"C:\Program Files (x86)\Microsoft Visual Studio\Shared\Anaconda3_64\envs\tf\Library\bin" -lmkl_core -lmkl_intel_thread -lmkl_rt"')
The text was updated successfully, but these errors were encountered: