Installing Keras Library

Installing Keras Library

Anuj shah

8 лет назад

23,154 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@tayoadejuwon9169
@tayoadejuwon9169 - 14.03.2018 02:58

what system specs are required?

Ответить
@DFan-uc3qz
@DFan-uc3qz - 19.02.2018 13:59

I've followed your step on installing keras, but i got a runtime error when import keras, which is:To use MKL 2018 with Theano you MUST set "MKL_THREADING_LAYER=GNU" in your environment. How should I settle this?

Ответить
@gurulekhak2135
@gurulekhak2135 - 18.11.2017 16:28

plz solve this problem
import theano

import keras
Traceback (most recent call last):

File "<ipython-input-5-c74e2bd4ca71>", line 1, in <module>
import keras

File "C:\Users\Acer\Anaconda2\lib\site-packages\keras\__init__.py", line 3, in <module>
from . import utils

File "C:\Users\Acer\Anaconda2\lib\site-packages\keras\utils\__init__.py", line 2, in <module>
from . import np_utils

ImportError: cannot import name np_utils

Ответить
@chandnikathuria2591
@chandnikathuria2591 - 28.09.2017 17:39

i hv installed keras....bt import is giving tensor flow module error.....
moreover there is no keras.json file in keras folder to make changes u hv specified....plz help

Ответить
@marlonrodriguez1692
@marlonrodriguez1692 - 18.04.2017 04:23

Thanks Anuj! It was very helpful.

Ответить
@codeknight1004
@codeknight1004 - 03.03.2017 15:41

bro when i install keras after that i import then its show some error like this -> no module named tensorflow . Please give some solution of this problem.

Ответить
@gauravsharma-mi2er
@gauravsharma-mi2er - 28.12.2016 19:18

To all the people having issue with tensorflow backend, just go to your home folder which in my case is c/users/username where you will find .keras folder click it then go to keras.json open it with msword and change backend from tensorflow to theano.

Ответить
@user-cy7fk3hd3q
@user-cy7fk3hd3q - 27.12.2016 07:51

hey i have the same problem bro and your video didn't quite solved it. can you please help?
i changed the backend to theano and second property to th and still there is an error:
raise JSONDecodeError("Expecting value", s, err.value) from None
JSONDecodeError: Expecting value
can u pls help me or do a short vid on how to solve this prob?

Ответить
@sateeshkumar9770
@sateeshkumar9770 - 13.06.2016 19:30

('The following error happened while compiling the node', forall_inplace,cpu,scan_fn}(TensorConstant{7}, InplaceDimShuffle{1,0,2}.0, IncSubtensor{InplaceSet;:int64:}.0, DeepCopyOp.0, TensorConstant{7}, lstm_1_U_o, lstm_1_U_f, lstm_1_U_i, lstm_1_U_c), '\n', "global name 'CVM' is not defined")
C:\Users\Sateesh\Anaconda2\envs\dato-env\lib\site-packages\theano\gof\link.pyc in make_thunk(self, input_storage, output_storage, storage_map)
688 return self.make_all(input_storage=input_storage,
689 output_storage=output_storage,
--> 690 storage_map=storage_map)[:3]
691
692 def make_all(self, input_storage, output_storage


I installed keras and theano following your tutorials and am getting these errors.Can you suggest how can I resolve this.

Ответить