Windows10にTensorflowとKerasをインストール
![Thumbnail of post image 092](https://i0.wp.com/vasteelab.com/wp-content/uploads/2020/07/brooke-lark-nTZOILVZuOg-unsplash.jpg?resize=150%2C150&ssl=1)
環境
Anacondaをインストール
Anaconda Navigatorを開いて新しい環境を作る
Tensorflowのインストール
Kerasのインストール
環境OS: Windows10(64bit) ...
Anacondaをインストール
Anaconda Navigatorを開いて新しい環境を作る
Tensorflowのインストール
Kerasのインストール
環境OS: Windows10(64bit) ...
GrovePiをRaspi 3B+に取り付けて簡単にLチカを行う[Grove][Python][RaspberryPi]
![Thumbnail of post image 030](https://i0.wp.com/vasteelab.com/wp-content/uploads/2020/07/erik-dungan-MQyCrJVFG8U-unsplash.jpg?resize=150%2C150&ssl=1)
Groveとは?
用意したもの
GrovePi+シールドをRaspberry Piに取り付ける
GrovePiのソースコードをダウンロード&インストール
GrovePi+シールドにLEDモジュールを取り付ける ...
用意したもの
GrovePi+シールドをRaspberry Piに取り付ける
GrovePiのソースコードをダウンロード&インストール
GrovePi+シールドにLEDモジュールを取り付ける ...
ワールドカードでタグ検索
![Thumbnail of post image 049](https://i0.wp.com/vasteelab.com/wp-content/uploads/2020/07/anna-sullivan-IUXR0sqs-mY-unsplash.jpg?resize=150%2C150&ssl=1)
# 必要なモジュールのインポートimport BeautifulSoupimport retry:# Python 3from urllib import requestexcept ImportError:# Python 2import ...
フォルダ内のファイルを特定の割合に分ける[Python]
![Thumbnail of post image 149](https://i0.wp.com/vasteelab.com/wp-content/uploads/2020/07/bram-van-oost-6WvZo5FOxww-unsplash.jpg?resize=150%2C150&ssl=1)
なんでこんなことするの?
CNNで学習するために、画像ファイルをTrainingとValidationに分けたかったから。
画像ファイルを7:3に分けるスクリプトfrom glob import globfrom os.path ...PILで透過PNGのαチャンネルを消す方法[Python][PIL][RGBA]
![Thumbnail of post image 028](https://i0.wp.com/vasteelab.com/wp-content/uploads/2020/07/bram-van-oost-6WvZo5FOxww-unsplash.jpg?resize=150%2C150&ssl=1)
In: from PIL import ImageIn: img_pil = Image.open("hoge.png")In: img_pil.mode Out: 'RGBA'In: img_pil = img_pil.convert(" ...
find_allの後にfind_allしたいとき[Python] [Beautiful soup]
![Thumbnail of post image 161](https://i0.wp.com/vasteelab.com/wp-content/uploads/2020/07/brooke-lark-HlNcigvUi4Q-unsplash.jpg?resize=150%2C150&ssl=1)
Beautiful soupでパースしたオブジェクトにfind_allの後にfind_allをするとエラーが出る.# エラーがでる例soup = BeautifulSoup(html, "html.parser")obj = soup.fi ...
Kaggleからダウンロード可能な機械学習用データセット
![Thumbnail of post image 011](https://i0.wp.com/vasteelab.com/wp-content/uploads/2020/07/anna-sullivan-IUXR0sqs-mY-unsplash.jpg?resize=150%2C150&ssl=1)
Kaggleは世界中のデータサイエンティストが自身の腕を競い合うコンペティションだ.
競技者たちはスポンサーが提供するデータセットに適切な予測なモデルを構築し,その予測精度を競う.もしあなたが1位をとることができたのであれ ...
‘/etc/apt/sources.list.d/cuda.list’ を上書きしようとしています。のエラーがでたときの対処法
![Thumbnail of post image 020](https://i0.wp.com/vasteelab.com/wp-content/uploads/2020/07/izabelle-acheson-aolXWwy-DiY-unsplash.jpg?resize=150%2C150&ssl=1)
入力したコマンド:
$ sudo dpkg -i cuda-repo-ubuntu1710_9.2.88-1_amd64.debでたエラー:
(データベースを読み込んでいます … 現在 127833 ...
Ubuntu16.04にNeo4jをインストールして動かすまで
![Thumbnail of post image 191](https://i0.wp.com/vasteelab.com/wp-content/uploads/2020/07/debby-hudson-EjCS2TsPjh8-unsplash.jpg?resize=150%2C150&ssl=1)
Neo4j のインストール
リポジトリキーを取得し、aptリストに追加
$ wget --no-check-certificate -O - | sudo apt-key add -$ sudo apt-get update$ ...Win版AnacondaでPermission deniedがでたときの対処法
![Thumbnail of post image 155](https://i0.wp.com/vasteelab.com/wp-content/uploads/2020/07/taylor-heery-71sp4JBYO-U-unsplash-2.jpg?resize=150%2C150&ssl=1)
Anaconda Prompt上で以下のコマンドを打つだけでOK
(標準のCommand PromptやWindows Power Shellではない)
anaconda-navigator --reset