Closed aalessi3 closed 1 year ago
Do the interactive GUI/our pre-defined datasets work? The linked issue points to an installation problem and not an implementation issue.
Yes the GUI and predefined DS work. I have also been able to run on custom DS with no issues. My issue is only similar to the linked issue in that my outputs are identical, i.e. the first mask provided is saved and present but all others are blank.
You might want to debug the code and print the line where the output becomes abnormal (compared with predefined datasets)
I am trying to run the model by feeding in a series of live video frames. I am providing the first frame segmentation mask and my camera is situated in a fixed orientation such that the first video frame and the provided mask will align. I am attempting to do so by modifying the eval.py script and feeding my video frame and mask via cv2 as opposed to the dataloader. In doing so I seem to only receive blank segmentation masks as an output, similar to https://github.com/hkchengrex/XMem/issues/41#issue-1421286267. I have also tried feeding a pre-saved video sequence and mask by simply reading and loading images via cv2, I once again receive only blank segmentation masks. I feel perhaps I am overlooking a key function of the dataloader. Any insight as to the errors in my current approach or possible direction would be greatly appreciated!