Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?

problem 1: i changed my code from fit to fit_generator, however, i found it converged slower than using fit. Using fit it converges at 5th epoch, however, it doesn't converge even at 10th epoch when i change to fit_generator. Moreover, when validation_data also uses fit_generator, the performance becomes much worse. Is my generator function has errors? def batch_iter(x, y, batch_size): """ Generat
最近流行のDeepLearningを触ってみたいと思っていたところ、まずはkerasでmnistを動かしてみるのがよいとアドバイスいただいたので試してみました。 とりあえず動いたものの、pythonの知識もほとんどなく、機械学習も初心者なので、コードを見てもよく分からん。ということで、気になるところを調べてみました。同じような方の参考になれば幸いです。 Kerasとは Kerasは,Pythonで書かれた,TensorFlowまたはCNTK,Theano上で実行可能な高水準のニューラルネットワークライブラリです. Kerasは,迅速な実験を可能にすることに重点を置いて開発されました. アイデアから結果に到達するまでのリードタイムをできるだけ小さくすることが,良い研究をするための鍵になります. TensorFlowやTheanoの知識がなくても、手軽に深層学習を試すことが出来るライブラリっぽ
Hi! Keras: 2.0.4 I recently spent some time trying to build metrics for multi-class classification outputting a per class precision, recall and f1 score. I want to have a metric that's correctly aggregating the values out of the different batches and gives me a result on the global training process with a per class granularity. The way I understand it is currently working is by calling the functio
2017/12/18追記 下のアイディアを、もっと扱いやすい形でHyperdash公式に取り込んでもらえました!(PullRequest) まだドキュメントは無いようですが、以下の仕組みが理解できれば使えるものだと思います。また今度記事書こうと思います。 「ネットワークのトレーニング時間かかるし一日置いとくか」と放置していたら、最初の方でつまづいていたりすることがよくあります。次の日に気づくと悲惨です! そこで、スマホアプリでリアルタイムに学習経過を見ることのできる便利なサービスhyperdashを使いましょう。 インストールや基本的な動かし方は公式ページにあります。 この記事では少し応用してKerasのコールバックから、hyperdashのapiにつなげる方法を紹介します。 とは言っても、次の二つのファイルを用意するだけで終わりです。 実行は普段通りpython train.pyでOK!
Keras examples directory Vision models examples mnist_mlp.py Trains a simple deep multi-layer perceptron on the MNIST dataset. mnist_cnn.py Trains a simple convnet on the MNIST dataset. cifar10_cnn.py Trains a simple deep CNN on the CIFAR10 small images dataset. cifar10_cnn_capsule.py Trains a simple CNN-Capsule Network on the CIFAR10 small images dataset. cifar10_resnet.py Trains a ResNet on the
Downloading data from https://storage.googleapis.com/mledu-datasets/cats_and_dogs_filtered.zip 68606236/68606236 ━━━━━━━━━━━━━━━━━━━━ 0s 0us/step Found 2000 files belonging to 2 classes. WARNING: All log messages before absl::InitializeLog() is called are written to STDERR I0000 00:00:1723777686.391165 124422 cuda_executor.cc:1015] successful NUMA node read from SysFS had negative value (-1), but
self._make_predict_function() File "/usr/local/lib/python3.4/dist-packages/keras/engine/training.py", line 679, in _make_predict_function **self._function_kwargs) File "/usr/local/lib/python3.4/dist-packages/keras/backend/tensorflow_backend.py", line 615, in function return Function(inputs, outputs, updates=updates) File "/usr/local/lib/python3.4/dist-packages/keras/backend/tensorflow_backend.py",
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く