Giter Site home page Giter Site logo

Model freezing about fots_tf HOT 9 CLOSED

pay20y avatar pay20y commented on July 30, 2024
Model freezing

from fots_tf.

Comments (9)

Pay20Y avatar Pay20Y commented on July 30, 2024

Sorry I have not tried it. Since I'm still doing experiments to reimplement the effect in paper. When I make it I'll release a frozen model.

from fots_tf.

bharatsubedi avatar bharatsubedi commented on July 30, 2024

I tried to freeze model but I faced one issue for model freezing. For detection session output of detection is f_score and f_geometry is in a graph so it will easily convert but in cases of recognition session dense_decode which is the output node of recognition is not inside the graph. do you know how to solve and freeze model? could you provide some hints on how can I solve this issue?

from fots_tf.

Pay20Y avatar Pay20Y commented on July 30, 2024

Maybe reimplement the NMS and the postprocess of detection(generating box from f_geometry) with tensorflow api.

from fots_tf.

bharatsubedi avatar bharatsubedi commented on July 30, 2024

could you explain more about model freezing? I tried different way but fails to get dense_decode output inside recog_decode session.

from fots_tf.

Pay20Y avatar Pay20Y commented on July 30, 2024

Sorry, I have never tried to freeze the model.

from fots_tf.

lerndeep avatar lerndeep commented on July 30, 2024

hello pay20Y,

I am also doing model freezing. I got output dense_decode but when i tried to run a session for recognition feeding input value for input_box_mask I got the issue.
image
Due to shape() issue I could not feed value into the session. could you provide some information?

from fots_tf.

Pay20Y avatar Pay20Y commented on July 30, 2024

@lerndeep input_box_mask is a list of 1D tensor. It is used to indicate which feature map that rois belonging to. So if you run with batch size of 1 the feeding input value is [0] * num_of_rois

from fots_tf.

lerndeep avatar lerndeep commented on July 30, 2024

Thank you for your reply. Now I solved the tensor size issue but I got another Issue "input_box_masks_.
image
This is my detail implementation code.

from fots_tf.

Alek-dr avatar Alek-dr commented on July 30, 2024

Have somebody success in freezing?

from fots_tf.

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.