import os import torch from pathlib import Path DATA_ROOT = Path(os.environ["HOME"]) / Path("app") / Path("data") DEVICE = torch.device("cpu") MODEL = "mobile_sam"