cuDNNのバージョンを確認(Nvidia-docker2で)

# cuDNNのバージョン確認$ dpkg -l | grep "cudnn"
上のコマンドを打ってみた例
# システムにインストールされているパッケージ一覧を表示$ dpkg -l | grep "cudnn"ii libcud ...Amazon dash こんなときどうするの?

プライムデーでdashボタンが100円で売っていたのでつい買ってしまった.
折角なのでdashボタンに興味をもつ人たちの為に,Amazon dash質問集をまとめたいと思う.
YOLOはOpenCV3.4.1に対応していないみたい[18.7.10時点]

インストールに失敗した私の環境
OpenCV: 3.4.1
Python: 3.6
CUDA: 9.1
実行した手順$ git clone cd darknet~/darknet/にある Makef ...
Dockerインストール時にNo module named ‘apt_pkg’

対処法
シンボリックリンクを張る。
$ cd/usr/lib/python3/dist-packages$ sudo ln -s apt_pkg.cpython-{35m,36m}-x86_64-linux-gnu.so以下 ...
NLTKのコーパスを用いたStopWord除去(英語)[Python][NLP]

In : from nltk.corpus import stopwordsIn : stopWords = stopwords.words('english')In : stopWordsOut: In: len(stopWords)Ou ...
AWS CLIでローカルのファイル/フォルダをS3にダウンロード/アップロード

AWS CLIの設定が既にされていることが前提の話。
まだの方は下のリンクを参考に設定してください。
docs.aws.amazon.com
S3にあるファイルのダウンロード構文:
aws s ...Windows10にTensorflowとKerasをインストール

環境
Anacondaをインストール
Anaconda Navigatorを開いて新しい環境を作る
Tensorflowのインストール
Kerasのインストール
環境OS: Windows10(64bit) ...
Anacondaをインストール
Anaconda Navigatorを開いて新しい環境を作る
Tensorflowのインストール
Kerasのインストール
環境OS: Windows10(64bit) ...
GrovePiをRaspi 3B+に取り付けて簡単にLチカを行う[Grove][Python][RaspberryPi]

Groveとは?
用意したもの
GrovePi+シールドをRaspberry Piに取り付ける
GrovePiのソースコードをダウンロード&インストール
GrovePi+シールドにLEDモジュールを取り付ける ...
用意したもの
GrovePi+シールドをRaspberry Piに取り付ける
GrovePiのソースコードをダウンロード&インストール
GrovePi+シールドにLEDモジュールを取り付ける ...
ワールドカードでタグ検索

# 必要なモジュールのインポートimport BeautifulSoupimport retry:# Python 3from urllib import requestexcept ImportError:# Python 2import ...
フォルダ内のファイルを特定の割合に分ける[Python]

なんでこんなことするの?
CNNで学習するために、画像ファイルをTrainingとValidationに分けたかったから。
画像ファイルを7:3に分けるスクリプトfrom glob import globfrom os.path ...