Previous working model no longer working with Inference JS

Describe your question/issue here! (delete this when you post)

Hello, my previously working model has stopped working with inference js.

Model link:

It was previously discussed and fixed on this thread:

I have fired up the webpage without any changes to the model or the code and now it doesn’t work.

Live version here:

https://datawalking.com/umbra/object7/

I get the following errors in the browser:
Uncaught (in promise) TypeError: G is not a function

object7/:1 Access to fetch at ‘``https://httpbin.org/headers’`` from origin ‘``https://datawalking.com``’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.

Error: The shape of dict[‘images’] provided in model.execute(dict) must be [1,3,640,640], but was [1,640,640,3]

ha @ blob:``https://datawal``…-8e4f6043476e:33428

inference.js:20212 Request 0 failed in worker worker_0_cowildlife_4: Model initialization failed

inference.js:20212 Uncaught (in promise) Error: Model initialization failed

What has changed that is breaking my project?

Thanks for any advice to fix this, David

OK to fix this I retrained the model, and it appears to work again :sweat_smile: