-
Notifications
You must be signed in to change notification settings - Fork 900
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
"Feature Extractor Examples" from ml5.js website / TypeError: Failed to fetch #1483
Comments
This is the error in the console for me:
Looks like Kaggle recently made some API changes on April 8, so maybe it's related to that? |
Besides the "Feature Extractor Examples", other sample codes are also affected: FaceMesh, Hand Pose, Image Classification, etc. |
I see cross-origin error on these two p5js sketches. https://editor.p5js.org/ml5/sketches/Facemesh_Webcam https://editor.p5js.org/ml5/sketches/Handpose_Webcam Access to fetch at 'https://www.kaggle.com/models/mediapipe/facemesh/frameworks/tfJs/variations/default/versions/1/model.json?tfjs-format=file&tfhub-redirect=true' |
Hi everyone! We are working on a new version of the ml5.js with more up-to-date models, the release is coming very soon! Please see the following for newer examples that you can use right now in the meantime! New examples: https://editor.p5js.org/ml5/collections/pUzWMkdmE Please file any issues in this repo: https://github.com/ml5js/ml5-next-gen |
Thanks, Daniel! Your work is highly appreciated. |
Was this perhaps a temporary issue yesterday? Everything seems to be working for me, I tested the ones above as well as these three examples from my videos. https://editor.p5js.org/codingtrain/sketches/qFZF7iDe |
Working for me ok today. These sketches now run OK: |
all examples are now working again. Maybe a temporary problem with Kaggle. |
Hey there! I can confirm this was a TensorFlow issue. I had raised this issue on their Github and they rolled out a fix. . They also provided some recommendations for how to avoid this in the future. See link attached. |
Similar failure today: https://docs.ml5js.org/#/reference/bodypose https://docs.ml5js.org/#/reference/facemesh |
I just checked and it's working for me right now? Did it resolve for you @jht9629-nyu? I think, unfortunately, we are at the mercy of the google/kaggle/tfhub servers and if something is down, then loading the model in ml5.js breaks. Maybe it would be good to document this better and/or have a back-up solution? Feel free to file an issue in ml5-next-gen, that's where we are tracking ongoing development now! |
Working for me now. Appears to be a temporary problem. https://docs.ml5js.org/#/reference/bodypose |
p5.js version
1.9.1
What is your operating system?
Windows 11
Web browser and version
Chrome 123.0.6312.106
Actual Behavior
the FeatureExtractor Examples for the "p5 web editor" from the ml5.js website raise an error: TypeError: Failed to fetch.
Here are the Examples:
FeatureExtractor_Image_Regression
FeatureExtractor_Image_Classification
a couple of days ago, the examples worked perfecty fine.
The text was updated successfully, but these errors were encountered: