Open HendricksJudy opened 1 month ago
Fixes #28
Add model download selector and update model loading process.
sam2-cli/MainCommand.swift
run
SAM2-Demo/Common/SAM2.swift
snapshot
HubApi.swift
loadModels
load(from directory: URL)
Fixes #28
Add model download selector and update model loading process.
sam2-cli/MainCommand.swift
run
function to use the specified model directory for loading models.SAM2-Demo/Common/SAM2.swift
snapshot
function fromHubApi.swift
.loadModels
function to call the new download function before loading the models.load(from directory: URL)
function to load models from a specified directory.