You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Access to fetch at 'https://www.kaggle.com/models/tensorflow/mobilebert/tfJs/mobilebert/1/model.json?tfjs-format=file&tfhub-redirect=true' (redirected from 'https://tfhub.dev/tensorflow/tfjs-model/mobilebert/1/model.json?tfjs-format=file') from origin 'https://storage.googleapis.com' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header has a value 'https://storage.googleapis.com' that is not equal to the supplied origin. Have the server send the header with a valid value, or, if an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
tensorflow_hub Version
0.13.0.dev (unstable development build)
TensorFlow Version
2.8 (latest stable release)
Other libraries
No response
Python Version
3.x
OS
macOS
The text was updated successfully, but these errors were encountered:
What happened?
When looking at the demo:
https://storage.googleapis.com/tfjs-models/demos/mobilebert-qna/index.html
I get the below error intermittently.
This error is replicated when I implement the demo code found here also: https://github.com/tensorflow/tfjs-models/tree/master/qna
This error might be related to https://discuss.tensorflow.org/t/tensorflow-model-cors-issues/18503
Relevant code
Relevant log output
tensorflow_hub Version
0.13.0.dev (unstable development build)
TensorFlow Version
2.8 (latest stable release)
Other libraries
No response
Python Version
3.x
OS
macOS
The text was updated successfully, but these errors were encountered: