kadirnar / segment-anything-video

MetaSeg: Packaged version of the Segment Anything repository
Apache License 2.0
946 stars 67 forks source link

Issue with download_model() Function Not Completing #102

Closed haruka0000 closed 7 months ago

haruka0000 commented 7 months ago

Hello,

I've encountered an issue with the download_model() function in your software. It seems to be failing and not progressing as expected. Below are the details of the problem:

Function in Question: download_model() Issue: The function does not successfully complete its operation. Behavior Observed: The process halts for an extended period without any progress. There is no change in the tqdm progress bar either. Error Messages and Logs:

Segmenting input.mp4
OpenCV: FFMPEG: tag 0x44495658/'XVID' is not supported with codec id 12 and format 'mp4 / MP4 (MPEG-4 Part 14)'
OpenCV: FFMPEG: fallback to use tag 0x7634706d/'mp4v'
  0%|                                                                                        | 0/742 [00:00<?, ?it/s]
Downloading vit_b.pth model 

The process then seems to halt at the initial stage of downloading the 'vit_b.pth' model with no progress indicated in the tqdm bar.

I would appreciate any guidance or fix for this issue. If there are any further details or logs that can assist in resolving this problem, please let me know, and I'll provide them.

Thank you for your time and assistance.

haruka0000 commented 7 months ago

On WSL Ubuntu it worked. Maybe, it is a problem with Linux. Some necessary libraries are lacking in my environment. Sorry.