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 / python-embedded-for-Win10.md
Created July 8, 2024 07:08 — forked from jtmoon79/python-embedded-for-Win10.md
fully configuring embedded Python on Windows 10

Update: use PowerShell script PythonEmbed4Win.ps1.

The instructions in this gist have some subtle problems and this gist will not be updated.

About


@ypwhs
ypwhs / residual_network.py
Created July 21, 2017 11:23 — forked from mjdietzx/residual_network.py
Clean and simple Keras implementation of residual networks (ResNeXt and ResNet) accompanying accompanying Deep Residual Learning: https://blog.waya.ai/deep-residual-learning-9610bb62c355.
"""
Clean and simple Keras implementation of network architectures described in:
- (ResNet-50) [Deep Residual Learning for Image Recognition](https://arxiv.org/pdf/1512.03385.pdf).
- (ResNeXt-50 32x4d) [Aggregated Residual Transformations for Deep Neural Networks](https://arxiv.org/pdf/1611.05431.pdf).
Python 3.
"""
from keras import layers
from keras import models
@ypwhs
ypwhs / fire_detect.ipynb
Created December 30, 2016 08:28 — forked from mlhy/fire_detect.ipynb
fire detect
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ypwhs
ypwhs / neural.c
Created September 13, 2016 05:18 — forked from hollance/neural.c
Playing with BNNS on macOS 10.12. The "hello world" of neural networks.
/*
The "hello world" of neural networks: a simple 3-layer feed-forward
network that implements an XOR logic gate.
The first layer is the input layer. It has two neurons a and b, which
are the two inputs to the XOR gate.
The middle layer is the hidden layer. This has two neurons h1, h2 that
will learn what it means to be an XOR gate.