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

Bug run "teachable_machine.html" #1

Closed
naomiefournie opened this issue Mar 12, 2019 · 1 comment
Closed

Bug run "teachable_machine.html" #1

naomiefournie opened this issue Mar 12, 2019 · 1 comment

Comments

@naomiefournie
Copy link

Bonjour,
en voulant tester ce code, je me suis heurté à un bug au niveau de cette ligne:
add_features(Array.from(feature.buffer().values)); qui est valorisé à undefined
Sauriez-vous comment pallier à ce problème ?
En vous remerciant par avance.
cdt

@naomiefournie
Copy link
Author

Résolu en changant les versions pour l'import du model et de tf.js

<script src="https://unpkg.com/@tensorflow/tfjs@0.14.0/dist/tf.min.js"></script>

<script src="https://unpkg.com/@tensorflow-models/mobilenet@0.2.0/dist/mobilenet.min.js"></script>

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

1 participant