雑多な技術系メモ

自分用のメモ。内容は保証しません。よろしくお願いします。

2017-01-01から1ヶ月間の記事一覧

「setOnItemClickListener cannot be used with a spinner」というエラー

「setOnItemClickListener cannot be used with a spinner」というエラーに対して 元ソース spinner.setOnItemClickListener(new AdapterView.OnItemClickListener() { @Override public void onItemClick(AdapterView parent, View view, int position, lon…

rails libに格納してある自作ライブラリを使用したいとき

rails libに格納してある自作ライブラリを使用したいとき config/envrioment.rb require "lib" lib/lib.rb module Lib def self.test end end app/controllersの中で、そのまま以下のように使用できる Lib.test

pandas で 「QXcbConnection: Could not connect to display 」が出た時の対処法

pandas で 「QXcbConnection: Could not connect to display 」が出た時の対処法 エラー内容 ディスプレイの表示できないようだ。。。ssh接続だから当たりまえなのだが。。 QXcbConnection: Could not connect to display 中止 (コアダンプ) とりあえずの対…

オンラインストレージ「MEGA」のインストール

オンラインストレージ「MEGA」のインストール 下記url参考.ダウンロードするだけ大丈夫 http://ubuntuhandbook.org/index.php/2014/09/install-mega-client-ubuntu-linux/

AssertionError: AbstractConv2d Theano optimization failed: there is no implementation available supporting the requested options. Did you exclude both "conv_dnn" and "conv_gemm" from the optimizer? If on GPU, is cuDNN available and does the GPU support it

kerasを用いて書いたプログラムを実行しようとしたら、タイトルのようなエラーがでた。 環境 Ubuntu : 16.04 python : 3.5.2 対処法 ~/.theanorcに以下のように記述すると解決 [global] optimizer = None 参考 http://kur.deepgram.com/troubleshooting.html