Giter Club home page Giter Club logo

Comments (5)

alizeshana avatar alizeshana commented on June 15, 2024

Do let me know if you get it.

from cascaded-fcn.

zakizhou avatar zakizhou commented on June 15, 2024

@alizeshana I forked that tensorflow-implementation branch and successfully started the training but then I got memory error because I only have one gtx 1060 6G card. If you have more powerful gpus maybe you can train it yourself

from cascaded-fcn.

alizeshana avatar alizeshana commented on June 15, 2024

@zakizhou I am facing the same issue on my gtx 740M 2GB. :p

Do let me know if you find the trained model.

from cascaded-fcn.

mohamed-ezz avatar mohamed-ezz commented on June 15, 2024

I think it's not very hard to convert the .caffeweights provided in this repo to a Keras .hdf5.

This is roughly how I would do it :

  1. Define the same network in Keras (this may be the most time consuming). Make sure there are no implementation differences for any of the layers between Caffe and Keras.
  2. A script Loads the .caffeweights and prototxt using caffe python library
  3. Compile the keras architecture
  4. Use keras's model.layers[i].set_weights(caffeweights), while figuring out any reshaping needed. Do this for every layer.
  5. Save Keras's model as .hdf5 model.save_weights(...)

from cascaded-fcn.

mohamed-ezz avatar mohamed-ezz commented on June 15, 2024

If you manage to do this, I would appreciate sharing your work with others by submitting a PR with the Tensorflow/Keras weights.

from cascaded-fcn.

Related Issues (20)

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.