Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

copy and pasted the model_web. I got this error. #2

Open
noma6386-duplicate opened this issue Jun 11, 2020 · 4 comments
Open

copy and pasted the model_web. I got this error. #2

noma6386-duplicate opened this issue Jun 11, 2020 · 4 comments

Comments

@noma6386-duplicate
Copy link

[email protected]:1 Uncaught (in promise) Error: Tensor must have a shape comprised of positive integers but got shape [1917,].
at z ([email protected]:1)
at [email protected]:1
at Array.forEach ()
at it ([email protected]:1)
at Tn ([email protected]:1)
at _n ([email protected]:1)
at [email protected]:1
at [email protected]:1
at Kt.scopedRun ([email protected]:1)
at Kt.tidy ([email protected]:1)


I tried other samples on your git.

I tried https://github.com/tensorflow/tfjs-models/tree/master/coco-ssd with the model.
It was not succeed also. Help me out please.

@bourdakos1
Copy link
Member

I think you don't have enough training data or not enough labels, try to have at least 2 labels and 20 images per label. Otherwise this error pops-up somewhat randomly

@noma6386-duplicate
Copy link
Author

I have 6 labels and used 200 images.
I got my model trained with IBM cloud. cacli ver 1.3.2 (latest one) I got label, model.json and 6 bin files.

@bourdakos1
Copy link
Member

hmm yea that's definitely enough training data... Do you mind emailing me a screenshot of your training data and maybe share your bucket with me? [email protected]

@noma6386-duplicate
Copy link
Author

Sorry for the late response. I am living in other time zone.
I email you with bucket and files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants