Spaces:
Runtime error
Runtime error
fix: typo in small checkpoint name
#3
by mikhail-shevtsov - opened
215 unmodified lines216217218219220221222434 unmodified lines657658659660215 unmodified linessam2_checkpoint = "./checkpoints/sam2_hiera_tiny.pt"model_cfg = "sam2_hiera_t.yaml"return [sam2_checkpoint, model_cfg]elif checkpoint == "samll":sam2_checkpoint = "./checkpoints/sam2_hiera_small.pt"model_cfg = "sam2_hiera_s.yaml"return [sam2_checkpoint, model_cfg]434 unmodified linesoutputs = [output_propagated, output_video, working_frame, available_frames_to_check, reset_prpgt_brn, mask_final_output])demo.launch(show_api=False, show_error=True)215 unmodified lines216217218219220221222434 unmodified lines657658659660215 unmodified linessam2_checkpoint = "./checkpoints/sam2_hiera_tiny.pt"model_cfg = "sam2_hiera_t.yaml"return [sam2_checkpoint, model_cfg]elif checkpoint == "small":sam2_checkpoint = "./checkpoints/sam2_hiera_small.pt"model_cfg = "sam2_hiera_s.yaml"return [sam2_checkpoint, model_cfg]434 unmodified linesoutputs = [output_propagated, output_video, working_frame, available_frames_to_check, reset_prpgt_brn, mask_final_output])demo.launch(show_api=False, show_error=True)
app.py+2-2