2019-08

その他

PychamやIntelliJ IDEAなどJetBrainsを使う時の.gitignore

.ideaディレクトリを全部.gitignoreに追加していいのか? 疑問に思ったので調べてみた This format is used by all the recent IDE versions by default. Here is ...
Python

pyenv installでERROR: The Python ssl extension was not compiled.

pyenv install 2.7.4 した時に ERROR: The Python ssl extension was not compiled. Missing the OpenSSL lib? Please consult to th...
Deep Learning

物体検出SNIPERのmake中にCUDA_CALLのエラーが出る

物体検出のSNIPERがすごいらしいので使ってみたい が、make中にエラー発生 CUDA_CALLが云々と怒られる config.mkを開いて #--------------------- # choice of compiler #--...
Linux

Ubuntuで複数のバージョンのgcc/g++の切り替えや指定を楽にする

OS:Ubuntu 18.04 gccやg++のバージョンを切り替えたい時がある。 が、altanativesを使うのは面倒くさい。 もっと簡単に、gcc-6とかg++-5とかでぱぱっと使い分けたい。 手順 ここのページをみて、使いたいバー...
Python

ImportError: cannot import name ‘Sonnet’が出る

pip install Sonnet したのにエラーが出る。 正しくは pip install dm-sonnet 参考