Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

264
Views
Unhandled Rejection (Error): The dict provided in model.execute(dict) has keys - multiobject detection with tfjs

I am trying to convert a Keras model and load into React and use it as tensorflow.js

My original Keras model is as follows

model_name:
-- variables
-- keras_metadata.pb
-- saved_model.pb

I then converted it using the following:

tensorflowjs_converter \ --input_format=tf_saved_model \ 
--saved_model_tags=serve \ 
model_name \
web_model

The output was a folder that contains

-- group1-shard1of1.bin
-- model.json

I load the model into react

import * as tf from "@tensorflow/tfjs"
const model = await tf.loadGraphModel('model.json')
const predictions = await model.predict(imageElement);

But I get

The error I get is

Unhandled Rejection (Error): The dict provided in model.execute(dict) has keys:

What does it mean and how can I fix it?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!