facebookresearch / facebookresearch/sam2
sam2_video_predictor.py | undefined symbol: _ZN3... | Skipping the post-processing step due to the error above
- Dominant language
- Jupyter Notebook
- Stars
- 19.9k
- Forks
- 2.5k
- PR merge metrics
- No merged PRs in 30d
Description
How to fix this error?
```
/home/ubuntu/sam2/sam2/sam2_video_predictor.py:786: UserWarning: /home/ubuntu/sam2/sam2/_C.so: undefined symbol: _ZN3c106detail23torchInternalAssertFailEPKcS2_jS2_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
Skipping the post-processing step due to the error above. You can still use SAM 2 and it's OK to ignore the error above, although some post-processing functionality may be limited (which doesn't affect the results in most cases; see https://github.com/facebookresearch/sam2/blob/main/INSTALL.md).
pred_masks_gpu = fill_holes_in_mask_scores(
```
I already did
```
pip install -e ".[notebooks]"
```
Contributor guide
Assessment
This issue has not been assessed yet.