Git Product home page Git Product logo

Negative dimension size caused by subtracting 3 from 2 for '{{node max_pooling2d/MaxPool}} = MaxPool[T=DT_FLOAT, data_format="NHWC", ksize=[1, 3, 3, 1], padding="VALID", strides=[1, 2, 2, 1]](activation/Relu)' with input shapes: [?,2,112,64]. about car-recognition HOT 15 OPEN

foamliu avatar foamliu commented on July 28, 2024
Negative dimension size caused by subtracting 3 from 2 for '{{node max_pooling2d/MaxPool}} = MaxPool[T=DT_FLOAT, data_format="NHWC", ksize=[1, 3, 3, 1], padding="VALID", strides=[1, 2, 2, 1]](activation/Relu)' with input shapes: [?,2,112,64].

from car-recognition.

Comments (15)

andreimihale avatar andreimihale commented on July 28, 2024

Did you find any solution for this?

from car-recognition.

Usman-Ghani123 avatar Usman-Ghani123 commented on July 28, 2024

from car-recognition.

andreimihale avatar andreimihale commented on July 28, 2024

No it did not occur while i was using it

Can you give us some details about how did u set up the project? Versions of packages and stuffs like that?

from car-recognition.

Usman-Ghani123 avatar Usman-Ghani123 commented on July 28, 2024

from car-recognition.

andreimihale avatar andreimihale commented on July 28, 2024

Python: 3.6.5 Tensorflow : 1.13.1 Tensorflow-gpu(if using gpu) : 1.13.1 Keras: 2.0.0

Do you had any problem on running this app with the specified versions?

from car-recognition.

Usman-Ghani123 avatar Usman-Ghani123 commented on July 28, 2024

from car-recognition.

andreimihale avatar andreimihale commented on July 28, 2024

Not at all. It worked completely fine

you can try for numpy ==1.16.1 version as well with all these requirement i send you formerly

do you have any idea if this project can run on Tensorflow 2+?
I try to run this project on a raspberry pi 4 and i don t have access to tensorflow-gpu on it

from car-recognition.

Usman-Ghani123 avatar Usman-Ghani123 commented on July 28, 2024

from car-recognition.

Usman-Ghani123 avatar Usman-Ghani123 commented on July 28, 2024

from car-recognition.

andreimihale avatar andreimihale commented on July 28, 2024

It can only work on tensorflow 1.13.1

do you know any car recognition project that works on tensorflow 2+?

I need to run it on a raspberry pi for testing

from car-recognition.

Usman-Ghani123 avatar Usman-Ghani123 commented on July 28, 2024

No, I do not know any car recognition project with TensorFlow 2+

from car-recognition.

Usman-Ghani123 avatar Usman-Ghani123 commented on July 28, 2024

Which code are you trying to run?

from car-recognition.

andreimihale avatar andreimihale commented on July 28, 2024

i need only demo.py working on tensorflow 2+ ( the code that actually run the image )

from car-recognition.

Usman-Ghani123 avatar Usman-Ghani123 commented on July 28, 2024

If you want to use TensorFlow 2+ so then you have to do some code changes in the files according to the errors

from car-recognition.

Usman-Ghani123 avatar Usman-Ghani123 commented on July 28, 2024

In pull request, a person has suggested some changes to make this compatible with Tensorflow 2.x .

from car-recognition.

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.