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:
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:
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) |
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 |
#! /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 # チャンネル |
# -*- coding: utf-8 -*- | |
""" | |
Created on Wed Jun 28 | |
@author: jyoshida@jikkenyametatta | |
opencv&numpy | |
""" | |
import cv2 | |
import numpy as np |
#!/bin/sh | |
# Modified by Stan Schwertly to download locally rather than to send to Posterous. | |
# Github: http://github.com/Stantheman/Twitpic-Backup | |
# Copyright 2010 Tim "burndive" of http://burndive.blogspot.com/ | |
# This software is licensed under the Creative Commons GNU GPL version 2.0 or later. | |
# License informattion: http://creativecommons.org/licenses/GPL/2.0/ | |
# This script is a derivative of the original, obtained from here: |