dolongbien / HumanBehaviorBKU

Abnormal Human Behaviors Detection/ Road Accident Detection From Surveillance Videos/ Real-World Anomaly Detection in Surveillance Videos/ C3D Feature Extraction
157 stars 57 forks source link

AttributeError: module 'theano' has no attribute 'tests' #6

Closed cervantes-loves-ai closed 5 years ago

cervantes-loves-ai commented 5 years ago

already tried after install "pip install nose". but can't solve this.

`Using Theano backend.


AttributeError Traceback (most recent call last)

in () ----> 1 from keras.models import Sequential 2 from keras.layers import Dense, Dropout, Activation, TimeDistributedDense ,LSTM,Reshape 3 from keras.regularizers import l2 4 from keras.optimizers import SGD,adam, Adagrad 5 from scipy.io import loadmat, savemat 3 frames /usr/local/lib/python3.6/dist-packages/theano/__init__.py in () 98 # needed during that phase. 99 import theano.tests --> 100 if hasattr(theano.tests, "TheanoNoseTester"): 101 test = theano.tests.TheanoNoseTester().test 102 else: AttributeError: module 'theano' has no attribute 'tests'` [https://drive.google.com/open?id=1a2JBxpTjYd_K7UhJXkQCYfJfso2jYHiM](url)
dolongbien commented 5 years ago

Hi, This could be a conflict between Theano version and CUDA or GPU instance. There are some rules regarding this compatibility, you should do a few research on it. What are your CUDA version and GPU model on Google Colab?

cervantes-loves-ai commented 5 years ago

I solved it. thank you so much for your advice.