Git Product home page Git Product logo

Comments (5)

oninross avatar oninross commented on May 8, 2024 1

Thank you @tushuhei, that worked perfectly! :)

from emoji-scavenger-hunt.

oninross avatar oninross commented on May 8, 2024

Somehow the issue is gone. I dont know what I did. But I did upgrade the Docker file script to get the latest version of the retrain.py. Training went out smoothly, the models loaded properly, but I get this error when I try to predict

Uncaught (in promise) Error: Missing input placeholders: Placeholder
    at GraphExecutor.checkInput (graph_executor.js:253)
    at GraphExecutor.execute (graph_executor.js:134)
    at FrozenModel.execute (frozen_model.js:161)
    at mobilenet.js:49
    at Object.Tracking.tidy (tracking.js:36)
    at MobileNet.predict (mobilenet.js:36)
    at snap.js:69
    at Object.Tracking.tidy (tracking.js:36)
    at HTMLImageElement.self.PLANT.onload (snap.js:68)

from emoji-scavenger-hunt.

tushuhei avatar tushuhei commented on May 8, 2024

Our script assumes the model input placeholder has the name input as specified below.

const INPUT_NODE_NAME = 'input';

However, it looks like your model has renamed the input placeholder as Placeholder instead for some reason. Could you try editing the line above from 'input' to 'Placeholder' and running your model again?

from emoji-scavenger-hunt.

nidhishgandhi avatar nidhishgandhi commented on May 8, 2024

@oninross how did you upgrade docker files??I am getting same error what should i do..

Capture

from emoji-scavenger-hunt.

tushuhei avatar tushuhei commented on May 8, 2024

Hi nidhishgandhi,

From seeing the error saying "Label yawning has no images in the category training", I assume it's caused by a lack of images for training. Could you check if there are multiple images under data/images/yawning directory? Please refer to https://github.com/google/emoji-scavenger-hunt#build-your-own-model for more details about data setup.

from emoji-scavenger-hunt.

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.