Closed Student204161 closed 1 year ago
I figured out my problem. The annotating tool that I used returned a greyscale image (1-channel) which it should do, but it didn't return a monotone mask (if inspecting the PNG I linked above, there are grey pixels which there shouldn't be). By giving all non-zero pixels the value 1, the model works.
Hi, I think you are trying to format your custom dataset into YouTubeVOS format for evaluation, my suggestions are as follows:
I figured out my problem. The annotating tool that I used returned a greyscale image (1-channel) which it should do, but it didn't return a monotone mask (if inspecting the PNG I linked above, there are grey pixels which there shouldn't be). By giving all non-zero pixels the value 1, the model works.
Glad to know that you have solved the problem.
Hi there,
I have downloaded and trained RPCMVOS on YT-VOS19 but when I try to evaluate custom testing images I get errors & I have narrowed it down to how the reference label is defined.
By adding a new if-statement in eval_manager_rpa.py using the existing YOUTUBE_VOS_Test() I am able to run RPCMVOS on YT-VOS19 examples and on my own images but only if I replace the respective annotated image with a dummy annotated image from YT-VOS19. I am not sure how the code expects the annotated format to be....
The error I get is:
When I debug, reference_labels turns out to be an empty tensor. I have tried turning my annotated image into a RGB-image, which I am not sure I did correctly, but then I get this error:
My annotated image: My annotated image after RGB:
This leads me to ask about how the annotated image format is expected to be?
Thanks for your attention.