Skip to content

Instantly share code, notes, and snippets.

View NHZlX's full-sized avatar
🏠
Working from home

Zhaolong Xing NHZlX

🏠
Working from home
View GitHub Profile
name: "GeNet"
layer {
name: "data"
type: "Input"
top: "data"
input_param {
shape {
dim: 1
dim: 3
dim: 128
#!/usr/bin/env python
# coding=utf-8
from __future__ import print_function
#from mobilenet import mobile_net
#from mobilenet_ssd_net_pascal import net_conf
#from mobilenet_ssd_net_face_2 import net_conf
#from new_mobilenet_ssd_net_face_4 import net_conf
input: "data"
input_dim: 1
input_dim: 3
input_dim: 368
input_dim: 368
layer {
name: "conv1_1"
type: "Convolution"
bottom: "data"
top: "conv1_1"
@NHZlX
NHZlX / vgg19.prototxt
Created March 8, 2018 03:13
vgg19.prototxt
name: "VGG_ILSVRC_19_layers"
input: "data"
input_dim: 10
input_dim: 3
input_dim: 224
input_dim: 224
layers {
bottom: "data"
top: "conv1_1"
name: "conv1_1"
import os
import paddle.v2 as paddle
import paddle.v2.fluid as fluid
import time
def conv_bn_layer(input, filter_size, num_filters, stride, padding, channels = None, num_groups=1,
act='relu', use_cudnn=False):
conv = fluid.layers.conv2d(
input=input,
num_filters=num_filters,
name: "ENet"
layer {
name: "data"
type: "Input"
top: "data"
input_param {
shape {
dim: 1
dim: 3
dim: 128
# Copyright (c) 2010-2011, Ethan Rublee
# Copyright (c) 2011-2014, Andrey Kamaev
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# 1. Redistributions of source code must retain the above copyright notice,
# this list of conditions and the following disclaimer.
#
name: "ENet"
layer {
name: "data"
type: "Input"
top: "data"
input_param {
shape {
dim: 1
dim: 3
dim: 128
layer {
name: "data"
type: "CPMData"
top: "data"
top: "label"
data_param {
source: "/home/zhecao/COCO_kpt/lmdb_trainVal"
batch_size: 10
backend: LMDB
}
input : "image"
input_dim: 1
input_dim: 3
input_dim: 224
input_dim: 224
layer {
name: "conv1"
type: "Convolution"
bottom: "image"
top: "conv1"