Giter Club home page Giter Club logo

tf-deeplab's Issues

iter_size in original caffe implementation

In the solver.prototxt of the original implementation, iter_size: 10 specifies that gradient updates only happen every 10 batches. However, the training script here doesnt do such a thing

batch normalization initialization

In the model, you initialize factor as:

factor = tf.get_variable( 'factor', 1, tf.float32, initializer=tf.constant_initializer(0.0, tf.float32), trainable=False)

which makes everything nan on first pass

maybe there is a softmax bug

the operation already include a softmax function. tf.nn.sparse_softmax_cross_entropy_with_logits.

and before sparse_softmax_cross_entropy_with_logits you also have a softmax, which might slight influence the result.

Converting caffemodel to npy file error

When I ran python caffemodel2npy.py deploy.prototxt ../deeplab/ResNet101/init.caffemodel/model/ResNet101_init.npy, an error occurred as the following.

WARNING: Logging before InitGoogleLogging() is written to STDERR
W0725 18:40:56.169318 9626 _caffe.cpp:122] DEPRECATION WARNING - deprecated use of Python interface
W0725 18:40:56.169384 9626 _caffe.cpp:123] Use this instead (with the named "weights" parameter):
W0725 18:40:56.169395 9626 _caffe.cpp:125] Net('deploy.prototxt', 1, weights='../deeplab/ResNet101/init.caffemodel')
[libprotobuf ERROR google/protobuf/text_format.cc:245] Error parsing text-format caffe.NetParameter: 15:16: Message type "caffe.LayerParameter" has no field named "interp_param".
F0725 18:40:56.173895 9626 upgrade_proto.cpp:79] Check failed: ReadProtoFromTextFile(param_file, param) Failed to parse NetParameter file: deploy.prototxt
*** Check failure stack trace: ***
Abort (core dumped)

What can the problem possibly be?

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.