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
While trying to use the package, I encountered an error indicating that the /models/isnet_quint8 resource is not found. This issue seems to be due to the absence of the model in the resources.json file retrieved from @imgly/background-removal-data.
Error Message
Error removing background: Error: Resource /models/isnet_quint8 not found. Ensure that the config.publicPath is configured correctly.
at loadAsBlob (resource.ts:41:11)
at async initBase (inference.ts:14:16)
at async initInference (inference.ts:24:16)
at async removeBackground (v1.ts:39:31)
at async remove-bg.vue:19:22
Details
The resources.json file fetched from @imgly/background-removal-data does not contain the /models/isnet_quint8 model.
However, the resources.json hosted on IMG.LY (https://staticimgly.com/@imgly/background-removal-data/1.5.1/dist/resources.json) does include /models/isnet_quint8.
Request
Please update @imgly/background-removal-data to include the missing /models/isnet_quint8 in the resources.json file, or provide guidance on how to correctly configure the model path to resolve this issue.
The text was updated successfully, but these errors were encountered:
Hi, we had some problems due to the package size limit of NPM. We had to move the data to the cdn and now provide a prepackaged downloadable package See #127
Description
I am using
@imgly/background-removal
in a Nuxt 3 application with the following versions:While trying to use the package, I encountered an error indicating that the
/models/isnet_quint8
resource is not found. This issue seems to be due to the absence of the model in theresources.json
file retrieved from@imgly/background-removal-data
.Error Message
Details
resources.json
file fetched from@imgly/background-removal-data
does not contain the/models/isnet_quint8
model.resources.json
hosted on IMG.LY (https://staticimgly.com/@imgly/background-removal-data/1.5.1/dist/resources.json
) does include/models/isnet_quint8
.Request
Please update
@imgly/background-removal-data
to include the missing/models/isnet_quint8
in theresources.json
file, or provide guidance on how to correctly configure the model path to resolve this issue.The text was updated successfully, but these errors were encountered: