Comments (10)
@bh26 I'm happy to help investigate if I can. The easiest way for me to see what is happening would be if you could send me a copy of your project (my email address is on my profile page) so I can try it for myself.
from ml4k-ai-extension.
Hi @bh26 , I believe it is due to an old extension file in that .aia file example on the Github page. I will update. Can you download this project below, paste your key into the "ML4K1" component's "Key" property on Designer, and test to see if it works? Don't forget to make sure your model is trained.
Download here: https://1drv.ms/u/s!Ap8cS8TATIfLuqo2fBJmCfGze5rCTA?e=lvcFFl
from ml4k-ai-extension.
Thanks Dale, I sent you the url.
Thanks Joe, I downloaded and ran it on my mobile but I got the same error.
Actually I had found that for the project it was possible to get an URL and pass this url to the import extension from url box in AI.
Just as an information, I created an unmanaged account on ML4K, and followed the steps on IBM watson.
Actually the API key I put in AI was the one provided by IBM to ML4K. I hope that is correct.
Bernard
from ml4k-ai-extension.
Hi Bernard @bh26
That is your problem. You need to provide your project key, not the IBM Watson API key. The extension needs a way to tie your App Inventor project extension with your Machine Learning for Kids project/ML model, so there is a unique project key.
It can be found in the URL you described. See highlighted section.
You can also easily see it here in the Python project section:
Essentially, the system is designed so you do not need to provide the key; unless you use my example .aia files. If you import the extension with the URL it will automatically add the key and you do not need to add it on Designer or Blocks in App Inventor.
from ml4k-ai-extension.
AAAAH!
I thought there was something like that but I thought since the extension was already connected to the project via the URL the API key in the blocks was not important. But without an API key in the designer it does not work with error "no API key".
And the documentation (?) is not very clear on that.
Anyway, that works quite well.
Actually, in which case the Extension importing via the URL makes the API key in the Designer irrelevant, if any?
Thanks,
from ml4k-ai-extension.
@bh26 Correct, importing the URL makes the API key in Designer irrelevant. Only when you come here to the GitHub page does it get confusing when looking at my examples.
I'll add some documentation to clarify getting the project key to use the examples.
from ml4k-ai-extension.
OK, but how to overcome the "No API key" error message? or should we not care?
from ml4k-ai-extension.
@bh26 That should only happen when using the .aix extension file from this Github page when you do not provide the key. When you use the URL to import the extension from the Machine Learning for Kids site, it automatically adds the key for you.
Were you getting this error from the example project file, .aix from GitHub, or URL added extension?
from ml4k-ai-extension.
from ml4k-ai-extension.
Thanks for the follow-up, Bernard. We will continue to make the extension have fewer tricks and more pure magic! 😉
Unless there is anything else @bh26 , I am going to have @kylecorry31 close this issue.
from ml4k-ai-extension.
Related Issues (20)
- Using the camera with image classification doesn't attach data HOT 4
- Image classification fails calling .ClassifyImage HOT 3
- Feature Request: ML Model Training Blocks HOT 13
- Update ML4K logo HOT 2
- Update Documentation to Explain Project Key and Using Example Projects
- Payload too large HOT 3
- AddNumbersTrainingData HOT 2
- Crash in older Android version HOT 2
- App Inventor emulator issues HOT 13
- how to get the API KEY ( error : API key isn't a machine learning for kids key ) HOT 3
- Support for sound projects
- RE: ML4K/ App Inventor- unable to invoke method `ClassifyImage` in object of type boolean. Irritants: () HOT 1
- Message "Classification for this project is only available in the browser" HOT 13
- APP error 0 not trained HOT 9
- Only one model out of three is trained HOT 1
- Error 403 while importing to App Inventor HOT 1
- Apk not traininig, but AI companion works fine
- Image classifacation dosent work
- Classification for this project is only available in the browser error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ml4k-ai-extension.