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

Message "Classification for this project is only available in the browser" #41

Open
bh26 opened this issue Dec 22, 2021 · 13 comments
Open

Comments

@bh26
Copy link

bh26 commented Dec 22, 2021

Hi,
I am going back to an old project I built for an App inventor workshop I am running soon and the app returns this message "class is only available in the browser".
I went back to the three steps to be sure the model was trained and updated. the key is still the same .
When I connected it through the AI companion I have the same message , including the fact that it showed the status =2 notification message that I had prepared.
I even went to import the extension again and needed to rebuild part of the app but got the same problem again.
Any idea of what's happening?
thanks
Bernard

@dalelane
Copy link
Collaborator

Support for image ML models in Machine Learning for Kids used to be provided by the IBM Watson service "Visual Recognition".

That service was withdrawn by IBM and is no longer available.

A new version of the App Inventor extension (1.2.0, although this was later updated with fixes in 1.2.1) was released so that image ML models are performed natively inside of App Inventor, to remove the need to make API calls to the IBM cloud service.

You need to update to a newer version of the App Inventor extension that includes this new capability.

@bh26
Copy link
Author

bh26 commented Dec 22, 2021 via email

@dalelane
Copy link
Collaborator

The Machine Learning for Kids website or this website - the same way you would've gotten it before.

Currently you're still using a version you imported from many months ago. You need to remove that version from your project, then add the current version and use that instead.

@bh26
Copy link
Author

bh26 commented Dec 22, 2021 via email

@dalelane
Copy link
Collaborator

I did train it a few minutes before.

Where did you do this? How did you do this?

@bh26
Copy link
Author

bh26 commented Dec 23, 2021 via email

@dalelane
Copy link
Collaborator

Support for image ML models in Machine Learning for Kids used to be provided by the IBM Watson service "Visual Recognition".

That service was withdrawn by IBM and is no longer available.

A new version of the App Inventor extension was released so that image ML models are performed natively inside of App Inventor, to remove the need to make API calls to the IBM cloud service.

The models are now trained inside the App Inventor project application. The ML model is now trained by the App Inventor extension. The ML model lives inside the App Inventor application. The ML model is created in and exists within the App Inventor application. It never leaves the mobile device.

Training a model on your web browser on your computer doesn't affect any of this.

The new version of the App Inventor extension trains it's own models. Which it does using the new "Train model" block. The App Inventor extension/application can't access your computer or any models you may have trained there.

@dalelane
Copy link
Collaborator

But, still, I get "Please train a machine learning model before you try to do this"

That's what this message is telling you. To train a model using the "Train model" block.

@bh26
Copy link
Author

bh26 commented Dec 25, 2021 via email

@dalelane
Copy link
Collaborator

Sorry, I don't know what you mean. What is impossible??

@dalelane
Copy link
Collaborator

Would it perhaps be easier if you tried one of the existing projects (e.g. https://github.com/IBM/taxinomitis-docs/raw/master/project-worksheets/pdf/worksheet-judgeabook-appinventor.pdf )? Or at least looked at the instructions for one?

It feels like we're both talking at cross purposes here, as I can't think of anything that isn't possible now the models are hosted on the device

@bh26
Copy link
Author

bh26 commented Dec 26, 2021 via email

@bh26
Copy link
Author

bh26 commented Dec 28, 2021 via email

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