-
Notifications
You must be signed in to change notification settings - Fork 343
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integrate Yolo to initiate the SAMURAI #63
Comments
can you provide more details on your modifications? |
Yolo_sam.txt |
I think your code will modify the frame_idx to 17, which can further caused error in the following line. I would suggest write a separate script to detect the ball and save it into txt, and then run our code for tracking.
|
thanks for the suggestion, i will give this method a try. |
I would love to use Yolo to initiate the SAMURAI. I tried, but got errors.
SAMURAI mode: False
or
I would get
File "C:\Users\Documents\samurai\sam2\sam2\modeling\sam2_base.py", line 665, in _prepare_memory_conditioned_features
iou_score = output_dict["non_cond_frame_outputs"][i]["best_iou_score"] # Get mask affinity score
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^
KeyError: 17
The text was updated successfully, but these errors were encountered: