natml-unity icon indicating copy to clipboard operation
natml-unity copied to clipboard

IndexOutOfRangeException: Index was outside the bounds of the array.

Open november15 opened this issue 2 years ago • 2 comments

Robust Video Matting - High Resolution Human Segmentation: image please help

november15 avatar Aug 12 '22 02:08 november15

Are you using a custom RVM model? Or are you fetching the model from NatML Hub? Can you share the exact example code that causes this error?

olokobayusuf avatar Aug 15 '22 01:08 olokobayusuf

Are you using a custom RVM model? Or are you fetching the model from NatML Hub? Can you share the exact example code that causes this error?

yes,i use a unity package :Robust Video Matting - High Resolution Human Segmentation, then i find github :https://github.com/PeterL1n/RobustVideoMatting,and then from here download ONNX RVM model, Dropping it into Unity. after run, this bug appears。 image

november15 avatar Aug 17 '22 06:08 november15

The RVM model on NatML Hub has been modified to improve runtime performance. As such, you cannot use our implementation with the stock model. You must implement a predictor for the stock RVM model you downloaded.

olokobayusuf avatar Aug 19 '22 14:08 olokobayusuf

The RVM model on NatML Hub has been modified to improve runtime performance. As such, you cannot use our implementation with the stock model. You must implement a predictor for the stock RVM model you downloaded.

i got it

november15 avatar Aug 22 '22 10:08 november15

The RVM model on NatML Hub has been modified to improve runtime performance. As such, you cannot use our implementation with the stock model. You must implement a predictor for the stock RVM model you downloaded.

i got it

thank you

november15 avatar Aug 22 '22 10:08 november15