You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/home/xxx/PycharmProjects/samurai/sam2/sam2/sam2_video_predictor.py:961: UserWarning: cannot import name '_C' from 'sam2' (/home/xxx/PycharmProjects/samurai/sam2/sam2/__init__.py)
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).
What operations are included in the post-processing process? Why we can ignore the error above?
The text was updated successfully, but these errors were encountered:
I'm having the same problem with my torch is 2.3.1,cuda12.1,Run the solution in issue25:python setup.py build_ext --inplace Report an error:
CUDA_HOME environment variable is not set. Please set it to your CUDA install root.
Failed to build the SAM 2 CUDA extension 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).
@havinggood Our code base did not modify any cuda-related code nor require any further version of torch. We recommend you to first set-up the original SAM 2 environment and run a quick test to ensure the enviroment is set up correctly.
What operations are included in the post-processing process? Why we can ignore the error above?
The text was updated successfully, but these errors were encountered: