Skip to content

l.loadModel is not a function - tfjs 1.1.2 #3

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

Closed
lefnire opened this issue Jun 14, 2019 · 2 comments
Closed

l.loadModel is not a function - tfjs 1.1.2 #3

lefnire opened this issue Jun 14, 2019 · 2 comments

Comments

@lefnire
Copy link

lefnire commented Jun 14, 2019

"@tensorflow/tfjs": "^1.1.2",
"tfjs-yolo": "^0.0.3",

I get l.loadModel is not a function, same issue as ModelDepot/tfjs-yolo-tiny#22. If I patch per that PR (use loadLayersModel) I get myYolo.predict is not a function. I actually tried pinning tfjs back to ^1.0.0, but I get the same errors (strangely, since this project is pinned at that version..)

@shaqian
Copy link
Owner

shaqian commented Jun 16, 2019

I think it's fixed in #2. I just published the change in v0.0.4.

@lefnire
Copy link
Author

lefnire commented Jun 17, 2019

confirmed fixed, thanks!

@lefnire lefnire closed this as completed Jun 17, 2019
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