Git Product home page Git Product logo

Comments (9)

yongwww avatar yongwww commented on September 7, 2024

@Least1924 thanks for reaching out. Would you mind sharing your .pb file? it is weird since inception should be supported well.

Currently, if the model compilation failed, then we will keep the model as it is, dlr then will use the executor of vanilla TF framework. So the the single .pb file in your compiled .tar.gz is expected for this case.

from neo-ai-dlr.

Least1924 avatar Least1924 commented on September 7, 2024

@yongwww Thanks for your prompt reply ! Here is the single .pb file in my compiled.

https://drive.google.com/open?id=1L6Ex98CEvnDe2hM_ZFxotzEZB7IxUzGy

from neo-ai-dlr.

Least1924 avatar Least1924 commented on September 7, 2024

@Least1924 thanks for reaching out. Would you mind sharing your .pb file? it is weird since inception should be supported well.

Currently, if the model compilation failed, then we will keep the model as it is, dlr then will use the executor of vanilla TF framework. So the the single .pb file in your compiled .tar.gz is expected for this case.

@yongwww sorry to bother you, is there any relevant progress on this issue ?

from neo-ai-dlr.

yongwww avatar yongwww commented on September 7, 2024

@Least1924 sorry for the late response. Failed to compile with you .pb file in tvm's tf frontend converter. It should be an issue in tf converter, in this case we return the same pb file as your input, the pb file can be supported with dlr. But for sure, we need to fix tf converter to get optimized model.

from neo-ai-dlr.

Least1924 avatar Least1924 commented on September 7, 2024

@yongwww Thank you very much for your work. Please let me know if the issue is fixed.

from neo-ai-dlr.

yongwww avatar yongwww commented on September 7, 2024

@Least1924 the main blocker for this issue is your preprocessing stuff in this model, DecodeJpeg can not be handled so far. Could you please move the preprocessing (node DecodeJpeg and DecodeJpeg's input node) out of the model? then just feed the preprocessed data to do inference.

Screen Shot 2019-08-06 at 10 16 17 PM

from neo-ai-dlr.

uday1994 avatar uday1994 commented on September 7, 2024

@Least1924 i'm facing same issue with tensorflow ssd model , please let me know how you fixed this

from neo-ai-dlr.

apivovarov avatar apivovarov commented on September 7, 2024

you can use transform_graph tool from tensorflow. It allows to cut sub-graph from your full graph.
Command example is below. You need to set new input and output

transform_graph \
--in_graph=mobilenet_v2_1.0_224_frozen.pb \
--out_graph=mobilenet_v2_1.0_224_opt.pb \
--inputs='input' \
--outputs='MobilenetV2/Predictions/Reshape_1' \
--transforms='
strip_unused_nodes(type=float, shape="1,224,224,3")
remove_nodes(op=Identity, op=CheckNumerics)
fold_constants(ignore_errors=true)
fold_batch_norms
fold_old_batch_norms'

from neo-ai-dlr.

nwils avatar nwils commented on September 7, 2024

I compiled a yolo model from mxnet using sagemaker neo and tested it on the edge device. The performance is really bad. It takes 25 secs for detection in a frame. Similarly, the model from tensorflow has 0.1fps. Is there anything wrong with my compilation? can you please help me with this problem?
Thank you for all your help.

from neo-ai-dlr.

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.