Git Product home page Git Product logo

Comments (3)

xuwenxin2 avatar xuwenxin2 commented on May 27, 2024

somehow i found out that the problem is my "frozen_inference_graph.pb" file problem.
cause i try with frozen_inference_graph from tensorflow and this problem is solved.

But I got other problem.

Traceback (most recent call last):
File "scripts/detection_images.py", line 141, in
vis_util.visualize_boxes_and_labels_on_image_array(
TypeError: visualize_boxes_and_labels_on_image_array() got an unexpected keyword argument 'file_name'

I have visulize on "visualization_utils.py" and I didn't found anything that might be wrong.
Please help.

from auto_annotate.

AlvaroCavalcante avatar AlvaroCavalcante commented on May 27, 2024

Hello @xuwenxin2, I'll be happy to help you!
Well, this error just means that you are calling the method with a parameter that doesn't exist. If we analyze, in the detection_images.py we call the method visualize_boxes_and_labels_on_image_array with a parameter called "file_name". This parameter doesn't exist in the original TF implementation, that's why you need to add it.

In my tutorial on Medium I explain that you need to replace the content of your "visualization_utils.py" by the "visualization_utils.py" that is inside the folder "scripts" in this repository. Also, you will need to copy and paste the file "generate_xml.py" in the same folder that your "visualization_utils.py" file is.

from auto_annotate.

AlvaroCavalcante avatar AlvaroCavalcante commented on May 27, 2024

I'll close this issue due to the inactivity, if you need help, open it again!

from auto_annotate.

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.