Keras,Tensorflow

Thumbnail of post image 092

環境
Anacondaをインストール
Anaconda Navigatorを開いて新しい環境を作る
Tensorflowのインストール
Kerasのインストール
環境OS: Windows10(64bit) ...

Grove,Python,RaspberryPi

Thumbnail of post image 030

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

Python

Thumbnail of post image 049

# 必要なモジュールのインポートimport BeautifulSoupimport retry:# Python 3from urllib import requestexcept ImportError:# Python 2import ...

Python

Thumbnail of post image 149

なんでこんなことするの?

CNNで学習するために、画像ファイルをTrainingとValidationに分けたかったから。

画像ファイルを7:3に分けるスクリプトfrom glob import globfrom os.path ...

Python

Thumbnail of post image 028

In: from PIL import ImageIn: img_pil = Image.open("hoge.png")In: img_pil.mode Out: 'RGBA'In: img_pil = img_pil.convert(" ...

Python

Thumbnail of post image 161

Beautiful soupでパースしたオブジェクトにfind_allの後にfind_allをするとエラーが出る.# エラーがでる例soup = BeautifulSoup(html, "html.parser")obj = soup.fi ...

Machine Learning

Thumbnail of post image 011

Kaggleは世界中のデータサイエンティストが自身の腕を競い合うコンペティションだ.

競技者たちはスポンサーが提供するデータセットに適切な予測なモデルを構築し,その予測精度を競う.もしあなたが1位をとることができたのであれ ...

Linux

Thumbnail of post image 020

入力したコマンド:

$ sudo dpkg -i cuda-repo-ubuntu1710_9.2.88-1_amd64.deb

でたエラー:

(データベースを読み込んでいます … 現在 127833 ...

Neo4j,Ubuntu

Thumbnail of post image 191

Neo4j のインストール

リポジトリキーを取得し、aptリストに追加

$ wget --no-check-certificate -O - | sudo apt-key add -$ sudo apt-get update$ ...

Python

Thumbnail of post image 155

Anaconda Prompt上で以下のコマンドを打つだけでOK

(標準のCommand PromptやWindows Power Shellではない)

anaconda-navigator --reset