From 7fdf0726a5b4403bcd3da96c579b4a7c0d1b014d Mon Sep 17 00:00:00 2001 From: James Ball Date: Mon, 16 Sep 2024 22:59:20 +0100 Subject: [PATCH] mypy --- detectree2/models/train.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/detectree2/models/train.py b/detectree2/models/train.py index 2c692f16..eb5dbcad 100644 --- a/detectree2/models/train.py +++ b/detectree2/models/train.py @@ -12,7 +12,7 @@ import re import time from pathlib import Path -from typing import Any, Dict, List +from typing import Any, Dict, List, Optional import cv2 import detectron2.data.transforms as T # noqa:N812