Hi Joe :)
There is an issue with browsers that I hope you could help me with!
On Chrome, running locally, it failed to load vips.worker.js
when initializing models but ran OK when deployed to GitHub page.
On Firefox, running locally, it loaded vips.worker.js
successfully. So I suppose this is an issue with the browser. Firefox does not support File System Access API, so I can only use the reddit image dataset provided.
--- Details when running locally on Chrome ---
I ran into this error when initializing the models:
Failed to execute 'importScripts' on 'WorkerGlobalScope': The script at 'http://localhost:63342/clip-image-sorter/vips/vips.worker.js' failed to load.`.
However, the file vips.worker.js
is indeed available:
Any help would be greatly appreciated! Thank you :)
Huyen