hi, thank you for your great work.when I run "remove_anything_video.py", it comes to an error:
torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 1024.00 MiB. GPU 0 has a total capacity of 39.39 GiB of which 796.88 MiB is free. Process 2676485 has 31.25 GiB memory in use. Process 2908565 has 2.09 GiB memory in use. Including non-PyTorch memory, this process has 5.23 GiB memory in use. Of the allocated memory 4.67 GiB is allocated by PyTorch, and 71.64 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True to avoid fragmentation. See documentation for Memory Management (https://pytorch.org/docs/stable/notes/cuda.html#environment-variables)
here is my torch version:
torch 2.2.1
torchaudio: 2.2.1
torchvision 0.17.1
hi, thank you for your great work.when I run "remove_anything_video.py", it comes to an error:
here is my torch version: torch 2.2.1 torchaudio: 2.2.1 torchvision 0.17.1
and my instruction: