Skip to content

Instantly share code, notes, and snippets.

View ypwhs's full-sized avatar
:octocat:
Focusing

杨培文 (Yang Peiwen) ypwhs

:octocat:
Focusing
View GitHub Profile
@ypwhs
ypwhs / FCN.ipynb
Last active February 8, 2017 14:18
FCN
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ypwhs
ypwhs / heart.ipynb
Created February 13, 2017 13:49
heart
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ypwhs
ypwhs / test.py
Created March 18, 2017 01:47
ETH robot
# coding: utf-8
import numpy as np
import requests
import datetime
import itchat
import time
import os
sensitive = 0.5
@ypwhs
ypwhs / mnist_sgd.ipynb
Created April 2, 2017 04:13
mnist_sgd
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ypwhs
ypwhs / MouseTraceVisualization.ipynb
Last active April 15, 2017 13:29
鼠标轨迹可视化
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ypwhs
ypwhs / transfer_learning.ipynb
Last active April 19, 2017 10:15
transfer learning and fine tune
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ypwhs
ypwhs / 数据预览.ipynb
Created May 6, 2017 15:58
MsCelebV1-Faces-Aligned 数据预览
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ypwhs
ypwhs / Invoke.cs
Created June 22, 2017 15:31
C# 线程操作UI
textBoxCMD.Invoke((MethodInvoker)delegate
{
textBoxCMD.AppendText(ex.Message);
});
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ypwhs
ypwhs / allow growth.py
Last active July 16, 2017 11:57
避免keras占用所有的显存
from keras.backend.tensorflow_backend import set_session
import tensorflow as tf
config = tf.ConfigProto()
config.gpu_options.allow_growth=True
set_session(tf.Session(config=config))