Docker and Kubernetes: The Complete Guide (vol.1)
https://www.udemy.com/course/docker-and-kubernetes-the-complete-guide/
2. Manipulating Containers with the Docker Client
Hello World
docker run hello-world
https://www.udemy.com/course/docker-and-kubernetes-the-complete-guide/
docker run hello-world
# Original: https://iotdiary.blogspot.com/2019/07/maixpy-go-mobilenet-transfer-learning.html | |
# Slightly modified for M5StickV | |
import sensor | |
import image | |
import lcd | |
import KPU as kpu | |
lcd.init() | |
lcd.rotation(2) | |
sensor.reset() | |
sensor.set_pixformat(sensor.RGB565) |
beebotteの使い方メモ.md
BeebotteはMQTTブローカ+REST API+Web Socketを提供するサービス。 無料アカウントでは50000メッセージ/日まで使える。
import os | |
from io import BytesIO | |
import tarfile | |
import tempfile | |
from six.moves import urllib | |
import numpy as np | |
from PIL import Image | |
import tensorflow as tf |
sudo sixpair
を実行しペアリングをするsudo sixad -s
を実行しPS3の真ん中のボタンを押しBluetoothにて接続する#! /usr/bin/env python3 | |
from mvnc import mvncapi as mvnc | |
import sys | |
import numpy | |
import cv2 | |
path_to_networks = './' | |
path_to_images = '../../data/images/' | |
graph_filename = 'graph' | |
#image_filename = path_to_images + 'cat.jpg' |
#! ruby -Ks | |
# -*- mode:ruby; coding:shift_jis -*- | |
# 2400ボーのデータレコーダっぽいWAVをつくる | |
# 出力ファイル | |
FILENAME = "test.wav" | |
BAUD = 2400 | |
CHANNELS = 1 # チャンネル |
Getting Setup: Follow the instruction on https://gym.openai.com/docs
git clone https://github.com/openai/gym
cd gym
pip install -e . # minimal install
Basic Example using CartPole-v0:
# -*- coding: utf-8 -*- | |
""" | |
Created on Wed Jun 28 | |
@author: jyoshida@jikkenyametatta | |
opencv&numpy | |
""" | |
import cv2 | |
import numpy as np |