Skip to content

Instantly share code, notes, and snippets.

View coporlock's full-sized avatar
🤒
Out sick

Hyuta Tanaka coporlock

🤒
Out sick
View GitHub Profile
@ByungSunBae
ByungSunBae / EditGraph.py
Created December 5, 2017 09:18
simple tensorflow graph edit example
# from : https://github.com/tensorflow/tensorflow/blob/master/tensorflow/contrib/graph_editor/examples/edit_graph_example.py
import numpy as np
import tensorflow as tf
from tensorflow.contrib import graph_editor as ge
# create a graph
g = tf.Graph()
with g.as_default():
@otmb
otmb / README.md
Last active August 14, 2024 02:38
MLMultiArray to Double Array

Sample Data

Get cat.bin

Xcode Resources Add cat.bin

resources.png

Playground

import CoreML
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active July 17, 2026 01:23
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@rezoo
rezoo / data.py
Last active January 3, 2019 07:15
Simple implementation of Generative Adversarial Nets using chainer
import gzip
import os
import numpy as np
import six
from six.moves.urllib import request
parent = 'http://yann.lecun.com/exdb/mnist'
train_images = 'train-images-idx3-ubyte.gz'
train_labels = 'train-labels-idx1-ubyte.gz'
# -*- coding:utf-8 -*-
import numpy as np
class Monomial(object):
def __init__(self):
self.degs = {}
def __hash__(self):
it = self.degs.items()
it.sort()
@juno
juno / github-flow.ja.md
Last active April 9, 2021 02:20
GitHub Flow (Japanese translation) Latest version is here: https://gist.github.com/Gab-km/3705015

GitHub Flow

31 Aug 2011

git-flowの問題点 (Issues with git-flow)

私は人々にGitを教えるためにあちこちを飛び回っているが、最近のほぼすべてのクラスやワークショップでgit-flowについてどう思うかを尋ねられた。私はいつも、git-flowは素晴らしいと思うと答えている。何百万ものワークフローを持ったシステム(Git)を提供し、ドキュメントもあるし、よくテストされている。フレキシブルなワークフローは、実に容易なやり方で多くの開発者の役に立つ。標準的なものになりつつあり、開発者はプロジェクトや企業の間を移動しつつこの標準的なワークフローに馴染むことができる。

@mohayonao
mohayonao / CommentedWebBeeper.js
Created July 12, 2012 00:26
WebBeeper 2A03 にコメントをつけたやつ
/**
* WebBeeper 2A03
* Origin : http://www.g200kg.com/en/docs/webbeeper
* Author : g200kg氏
* Comment: mohayonao
* Blog : http://mohayonao.hatenablog.com/entry/2012/07/12/093004
*/
var app;
var audioif;
@ser1zw
ser1zw / levelset_method.c
Created November 5, 2010 18:53
レベルセット法の練習
/* -*- mode: c; coding: utf-8-unix -*- */
/*
Level set method
Build:
gcc `pkg-config --libs --cflags opencv` -pg levelset_method.c -o levelset_method
Usage:
./levelset_method imagefile
TODO:
・高速化