のねのBlog

パソコンの問題や、ソフトウェアの開発で起きた問題など書いていきます。よろしくお願いします^^。

2018-02-09から1日間の記事一覧

NameError: name 'feature' is not defined

--------------------------------------------------------------------------- NameError Traceback (most recent call last) <ipython-input-38-0bb17743e79e> in <module>() 9 10 # Assign the minibatch data to the input variables and train the model on the minibatch ---> 11 trainer.tra</module></ipython-input-38-0bb17743e79e>…

ValueError: learning_rate type (<class 'float'>) not supported. learning_rate must be a training schedule (output of learning_rate_schedule() function)

--------------------------------------------------------------------------- ValueError Traceback (most recent call last) <ipython-input-22-e677a538ecd8> in <module>() 1 # Instantiate the trainer object to drive the model training 2 learning_rate = 0.02 ----> 3 learner = sgd(z.p</module></ipython-input-22-e677a538ecd8>…

NameError: name 'cross_entropy_with_softmax' is not defined

--------------------------------------------------------------------------- NameError Traceback (most recent call last) <ipython-input-16-bb8c1973018f> in <module>() 1 label = input_variable((num_output_classes), np.float32) ----> 2 loss = cross_entropy_with_softmax(z, label) N</module></ipython-input-16-bb8c1973018f>…

ImportError: No module named 'cntk.learner'

ImportError: No module named 'cntk.learner'github.com名前変わったのかな learnersは、ありそう cntk.learners package — Python API for CNTK 2.4 documentation

cntk ImportError: cannot import name 'set_default_device'

ImportError: cannot import name 'set_default_device'try_set_default_deviceはあるみたい。 どうすればいいんだろう。