samexporter
samexporter copied to clipboard
Does the exported SAM2 encoder and decoder only support inference images?
I plan to conduct video inference, but it seems that having only encoder and decoder is not enough. Perhaps it includes:Image encoder,Memory attention. Prompt encoder and mask decoder,Memory encoder,Memory bank.
I'm a bit confused.😕
Hi @Aimol-l , There is no inference code at the moment. Please use the official repo from Meta. Thank you!
我打算做视频推理,但是好像只有encoder和decoder还不够, 可能还要包括:Imagecoder,Memory Attention,Prompt Encoder和Mask Decoder,Memory Encoder,Memory Bank。
我有点困惑。😕
I also want to use it for video inference. Does the exported SAM2 encoder and decoder support it?
我打算做视频推理,但是好像只有encoder和decoder还不够, 可能还要包括:Imagecoder,Memory Attention,Prompt Encoder和Mask Decoder,Memory Encoder,Memory Bank。
我有点困惑。😕
I also want to use it for video inference. Does the exported SAM2 encoder and decoder support it?
I am try to export Memory_attention module,but failed. this is my code :https://github.com/Aimol-l/SAM2Export.git
so,I'm stuck。
this is my note graph.
我打算做视频推理,但是好像只有encoder和decoder还不够, 可能还要包括:Imagecoder,Memory Attention,Prompt Encoder和Mask Decoder,Memory Encoder,Memory Bank。
我有点困惑。😕
I also want to use it for video inference. Does the exported SAM2 encoder and decoder support it?
I am try to export Memory_attention module,but failed. this is my code :https://github.com/Aimol-l/SAM2Export.git so,I'm stuck。 this is my note graph.
你好,请问图片预测的运行成功了吗,我报错
Traceback (most recent call last):
File "
Overload resolution failed:
- src is not a numpy array, neither a scalar
- Expected Ptrcv::UMat for argument 'src' 不知道是不是版本问题

