Giter Site home page Giter Site logo

Comments (5)

ytolochko avatar ytolochko commented on September 13, 2024 2

Thanks for the reply!

For those who are seeing this issue: just comment out the assert statement, it still works! The weights load correctly but for some reason the assert statement fails. image_demo.py still produces the expected result

from tensorflow2.0-examples.

HarrisDePerceptron avatar HarrisDePerceptron commented on September 13, 2024 1

You need have the original number of coco classes to load the model. this happened to me when i changed the classes from the config to run yymnist training classes.

from tensorflow2.0-examples.

YunYang1994 avatar YunYang1994 commented on September 13, 2024

It works fine on both Mac and Linux. sorry I have no idea about it.

from tensorflow2.0-examples.

SinclairHudson avatar SinclairHudson commented on September 13, 2024

Hmmm, I'm getting the same issue. Except when I comment out the assert statement, I get the following error:

tensorflow.python.framework.errors_impl.InvalidArgumentError: Input to reshape is a tensor with 5577 values, but the requested shape requires a multiple of 85
[[node Reshape_5 (defined at /PycharmProjects/conduct/YOLOV3/video_demo.py:51) ]] [Op:__inference_keras_scratch_graph_13283]

Any ideas?

from tensorflow2.0-examples.

SinclairHudson avatar SinclairHudson commented on September 13, 2024

Just figured out what went wrong. In video_demo.py, you have to change the number of classess manually, on line 24. Could this be changed so that it automatically reads the classes file from the config and determines the number of classes?

from tensorflow2.0-examples.

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.