Skip to content

Instantly share code, notes, and snippets.

@ikeyasu
ikeyasu / README.md
Last active June 16, 2018 14:21
imagenet pretrained model

Imagenet pretrained model

@ikeyasu
ikeyasu / mturk-upload.html
Last active April 17, 2018 15:11
mturk-upload.html
<p>Please upload your bouncy ball. (<a href="https://en.wikipedia.org/wiki/Bouncy_ball">What is bouncy ball.</a>) You need to take a phone like ...</p>
<ul>
<li>Any size, Any color is okay.</li>
<li>One photo contains <b>two bouncy balls</b>.</li>
<li>Put bouncy ball on flat table, and take a photo from top.</li>
<li>Two bouncy balls needs to be located on random positions. (No need to be on center.)</li>
</ul>
<p>Example<br />
@ikeyasu
ikeyasu / mturk-ball.html
Created April 17, 2018 14:18
mturk-ball.html
<div style="display:none;">&nbsp;</div>
<link href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/themes/smoothness/jquery-ui.css" rel="stylesheet" /><script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script><script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.js"></script>
<div style="display:inline-block;vertical-align:top;">
<h1>Draw a box around each of balls.</h1>
<p>Draw a rectangle using your mouse over each balls. You need to draw like the following image.</p>
<p>
<img src="https://s3.amazonaws.com/ikeyasu-turk/balls/sample.png">
</p>
<div id="bbox_annotator" style="display:inline-block">&nbsp;</div><p/><p/>
<p id="button_paragraph"><input id="annotation_data" name="annotation_data" type="hidden" /> <input id="reset_button" type="reset" /></p>
@ikeyasu
ikeyasu / __init__.py
Created February 23, 2018 14:51
pyglet.gl
# ----------------------------------------------------------------------------
# pyglet
# Copyright (c) 2006-2008 Alex Holkner
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# * Redistributions of source code must retain the above copyright
@ikeyasu
ikeyasu / __init__.py
Created February 23, 2018 14:50
pyglet.gl
# ----------------------------------------------------------------------------
# pyglet
# Copyright (c) 2006-2008 Alex Holkner
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# * Redistributions of source code must retain the above copyright
@ikeyasu
ikeyasu / train.py
Last active December 11, 2016 14:48
train.py
import argparse
import gym
import six
import numpy as np
import random
import chainer
from chainer import functions as F
from chainer import cuda
from chainer import links as L
@ikeyasu
ikeyasu / HTTPSRequest.ino
Created August 20, 2016 03:35
esp8266 HTTPSRequest test on www.howsmyssl.com
/*
* HTTP over TLS (HTTPS) example sketch
*
* This example demonstrates how to use
* WiFiClientSecure class to access HTTPS API.
* We fetch and display the status of
* esp8266/Arduino project continuous integration
* build.
*
* Created by Ivan Grokhotkov, 2015.
var mqtt = require('mqtt'),
tlsReader = require('./lib/tls-reader'),
isUndefined = require('./lib/is-undefined'),
config1 = require('./local-setting-mqtt1.json'),
config2 = require('./local-setting-mqtt2.json');
if (!isUndefined(config1.keyPath)) tlsReader(config1);
if (!isUndefined(config2.keyPath)) tlsReader(config2);
var client1 = mqtt.connect(config1);
{"test":"sample"}