import torch | |
MODEL_PATH = "xception_best_model.pth" | |
DEVICE = torch.device("cuda" if torch.cuda.is_available() else "cpu") | |
FRAME_SKIP = 5 # Every 5th frame | |
import torch | |
MODEL_PATH = "xception_best_model.pth" | |
DEVICE = torch.device("cuda" if torch.cuda.is_available() else "cpu") | |
FRAME_SKIP = 5 # Every 5th frame | |