Skip to content

tfjs-core 0.12.8 causes "delay" giving proper results #573

@oninross

Description

@oninross

TensorFlow.js version

"@tensorflow/tfjs": "^0.11.2",
"@tensorflow/tfjs-converter": "^0.5.6",
"@tensorflow/tfjs-core": "^0.12.8",

Browser version

Desktop - Chrome 68
Mobile - Chrome 67

Describe the problem or feature request

Prior to upgrading tfjs-core, the process was working smoothly. A user takes a picture of an image, it will identify the image accordingly. No problem.

After upgrading to the latest versions, there seems to be a "delay" in identifying the images. For example: A user takes a picture of a hotdog (first time loading the page) the result is unknown. Then takes another picture of a pizza, the result is pizza. Then takes another picture of beer, the result is beer.

I didnt change anything in the codes, only upgraded tfjs-core. Am I missing something here?

Code to reproduce the bug / link to feature request

https://not-hotdog-pwa.firebaseapp.com/ - has the issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions