Giter Club home page Giter Club logo

Comments (4)

tilakrayal avatar tilakrayal commented on April 28, 2024

@pzy2000,
The error message "unsupported operand type(s) for -: 'NoneType' and 'int'" suggests that a computation is attempted between NoneType (which indicates a missing value) and an integer. Also I tried to execute the mentioned code and it was executed with a different error. Kindly find the gist of it here and share the required dependencies. Thank you!

from tensorflow.

pzy2000 avatar pzy2000 commented on April 28, 2024

@pzy2000, The error message "unsupported operand type(s) for -: 'NoneType' and 'int'" suggests that a computation is attempted between NoneType (which indicates a missing value) and an integer. Also I tried to execute the mentioned code and it was executed with a different error. Kindly find the gist of it here and share the required dependencies. Thank you!

sorry, I forgot to share the model file, it is here:
https://drive.google.com/file/d/14Lph3YKjXJVy3huIFCYoQJ4DrqgKs5tf/view?usp=sharing

from tensorflow.

tilakrayal avatar tilakrayal commented on April 28, 2024

@pzy2000,
I tried to execute the mentioned code using the .h5 file provided and execute with the different error. AFAIK I tried to execute the model with tensorflow v2.16, and tried to run the inference for the .h5 model which was on tensorflow older versions and it was failing due to this extra layer which was not present in before versions. Kindly find the gist of it here.

And also this issue is related to Keras, Could you please reach out to keras-team/keras repo for the quick response. Thank you!

from tensorflow.

github-actions avatar github-actions commented on April 28, 2024

This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you.

from tensorflow.

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.