facebookresearch / sam2

The repository provides code for running inference with the Meta Segment Anything Model 2 (SAM 2), links for downloading the trained model checkpoints, and example notebooks that show how to use the model.
Apache License 2.0
12.14k stars 1.1k forks source link

addpoints error #410

Open ljh-7 opened 1 week ago

ljh-7 commented 1 week ago

when i add points to the video which i choose , with first cilck, the problem followed happened. 1 and I click [close] and try adding points again , a new problem happened. 2 微信图片_20241023235334 what should I do to solve these problems? @raedle

jogam5 commented 1 week ago

I'm experiencing the same problem

ljh-7 commented 1 week ago

I'm experiencing the same problem

Did you solve it?

jogam5 commented 1 week ago

@ljh-7 I realized I was using the wrong torch version 2.5 instead of 2.3.1.

ljh-7 commented 1 week ago

I realized I was using the wrong torch version 2.5 instead of 2.3.1.

So changing the version may solves the problem? Do you succeed?

ljh-7 commented 1 week ago

@ljh-7 I realized I was using the wrong torch version 2.5 instead of 2.3.1.

oh yeah ,the torch version I used is also 2.5, i will try changing

zhoujian1028 commented 1 week ago

https://github.com/facebookresearch/sam2/issues/369 @ljh-7

ljh-7 commented 1 week ago

369 @ljh-7

oh yeah thanks,see it!