Giter Site home page Giter Site logo

nigroup / nideep Goto Github PK

View Code? Open in Web Editor NEW
28.0 5.0 16.0 654 KB

collection of utilities to use with deep learning libraries (e.g. caffe)

License: BSD 2-Clause "Simplified" License

Python 92.24% Shell 0.24% Jupyter Notebook 1.07% MATLAB 6.45%
deep-learning caffe lmdb hdf5 machine-learning deep-neural-networks

nideep's People

Contributors

kashefy avatar marcenacp avatar niujincidian avatar pduy avatar rparrapy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

nideep's Issues

doubt in net surgery

I am trying to train pascal context 2010 dataset for segmentation using FCNN.I have two questions.

  1. My doubt is Initially when i perform net surgery on the VGG16.prototxt to get VGG16_Full_conv.prototxt,the input data is in the form of images as below,

name: "VGG_ILSVRC_16_layers_FCNN"
input: "data"
input_dim: 10
input_dim: 3
input_dim: 224
input_dim: 224
....
}

After net surgery when I copy the VGG16_FCNN layers to train_val.prototxt which is the prorotxt file to train the FCNN 32 strides layers,the network is skipping the input layer values.It is skipping because train_val.prototxt input datatype is in lmdb format as below,

name: "FCN"
layer {
name: "data"
type: "Data"
top: "data"
include {
phase: TRAIN
}
transform_param {
mean_value: 104.00699
mean_value: 116.66877
mean_value: 122.67892
}
data_param {
source: "VOCdevkit/VOC2010/context_imgs_train_lmdb"
batch_size: 1
backend: LMDB
}
}

So should I convert input type "LMDB" into type "data" and give input as images like the VGG16.protoxt and VGG16_Fully_conv.prototxt.

In short,Should not the weights between the input layer and the next layer be also included?

2).When I perform net surgery should I also copy the fc8 layer weights,because VGG 16 outputs 1000 classes whereas FCNN is for 60 classes?

At present I am not including input layer and fc8 layer weights and the initial loss is 812751.In google caffe group you have posted your loss around 767455?I am using the same train/val slpit as you posted in the google groups.

Apologies for the long post

problem with data preparation

I want to prepare the data & label layer for training pixel labeling network, for example using pascal context. I found nideep generate lmdbs for images and labels separately and all images and labels are in original size. However it's hard to use these generated lmdbs in caffe's prototxt because it requires equal size input (224*224) for both images and labels. My question is whether it's possible to put images and labels into one lmdb, how to do it with nideep? I think put them into one lmdb could let me use crop operation in caffe's data layer. Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.