Skip to content

Instantly share code, notes, and snippets.

View lancejchen's full-sized avatar

Jing Chen lancejchen

  • Continental Automotive
  • Singapore
View GitHub Profile
protected function _call($name, $p, $type) {
$ret = null;
if(isset($this->_obj->methods[$name][$type])) {
foreach($this->_obj->methods[$name][$type] as $extend) {
if(is_array($extend) && isset($extend['class'])) {
$obj = $this->_getobj($extend['class'], $this->_obj);
switch (count($p)) {
case 0: $ret = $obj->{$extend['method']}();break;
case 1: $ret = $obj->{$extend['method']}($p[0]);break;
//lance: for executing the methods.
@lancejchen
lancejchen / 0_reuse_code.js
Created July 22, 2014 08:30
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@lancejchen
lancejchen / readme.md
Created December 7, 2016 11:40 — forked from baraldilorenzo/readme.md
VGG-16 pre-trained model for Keras

##VGG16 model for Keras

This is the Keras model of the 16-layer network used by the VGG team in the ILSVRC-2014 competition.

It has been obtained by directly converting the Caffe model provived by the authors.

Details about the network architecture can be found in the following arXiv paper:

Very Deep Convolutional Networks for Large-Scale Image Recognition

K. Simonyan, A. Zisserman