Spaces:
Runtime error
Runtime error
Merge branch 'master' into huggingface
Browse filesFiles changed (2)
6 unmodified lines7896 unmodified linesVIDEO_FILE_EXT = ['.mp4', '.avi', '.mov', '.wmv', '.flv', '.webm', '.mkv', '.mpeg', '.mpg', '.m4v', '.3gp', '.ts', '.vob']DEFAULT_COLOR = "#00FF00"DEFAULT_PIXEL_SIZE = 86 unmodified lines789106 unmodified linesVIDEO_FILE_EXT = ['.mp4', '.avi', '.mov', '.wmv', '.flv', '.webm', '.mkv', '.mpeg', '.mpg', '.m4v', '.3gp', '.ts', '.vob']DEFAULT_COLOR = "#00FF00"DEFAULT_PIXEL_SIZE = 8
40 unmodified lines4142434445464740 unmodified linesself.model_dir = model_dirself.output_dir = output_dirself.device = "cuda" if torch.cuda.is_available() else "cpu"self.dtype = torch.float16 if torch.cuda.is_available() else torch.float32self.mask_generator = Noneself.image_predictor = Noneself.video_predictor = None40 unmodified lines4142434445464740 unmodified linesself.model_dir = model_dirself.output_dir = output_dirself.device = "cuda" if torch.cuda.is_available() else "cpu"self.dtype = torch.float16 if torch.cuda.is_available() else torch.bfloat16self.mask_generator = Noneself.image_predictor = Noneself.video_predictor = None
modules/constants.py+1
modules/sam_inference.py+1-1