thesemicolon icon indicating copy to clipboard operation
thesemicolon copied to clipboard

error in load_model

Open suyogjadhavar opened this issue 5 years ago • 0 comments

\Users\Suyog\Desktop\python>python chat.py C:\Users\Suyog\AppData\Local\Programs\Python\Python35\lib\site-packages\gensim\utils.py:1212: UserWarning: detected Windows; aliasing chunkize to chunkize_serial warnings.warn("detected Windows; aliasing chunkize to chunkize_serial") Using TensorFlow backend. WARNING (theano.configdefaults): g++ not available, if using conda: conda install m2w64-toolchain C:\Users\Suyog\AppData\Local\Programs\Python\Python35\lib\site-packages\theano\configdefaults.py:560: UserWarning: DeprecationWarning: there is no c++ compiler.This is deprecated and with Theano 0.11 a c++ compiler will be mandatory warnings.warn("DeprecationWarning: there is no c++ compiler." WARNING (theano.configdefaults): g++ not detected ! Theano will be unable to execute optimized C-implementations (for both CPU and GPU) and will default to Python implementations. Performance will be severely degraded. To remove this warning, set Theano flags cxx to an empty string. WARNING (theano.tensor.blas): Using NumPy C-API based implementation for BLAS functions. Traceback (most recent call last): File "chat.py", line 22, in model=load_model(f1) File "C:\Users\Suyog\AppData\Local\Programs\Python\Python35\lib\site-packages\keras\engine\saving.py", line 419, in load_model model = _deserialize_model(f, custom_objects, compile) File "C:\Users\Suyog\AppData\Local\Programs\Python\Python35\lib\site-packages\keras\engine\saving.py", line 221, in _deserialize_model model_config = f['model_config'] File "C:\Users\Suyog\AppData\Local\Programs\Python\Python35\lib\site-packages\keras\utils\io_utils.py", line 302, in getitem raise ValueError('Cannot create group in read only mode.') ValueError: Cannot create group in read only mode.

suyogjadhavar avatar Oct 09 '18 12:10 suyogjadhavar