diff --git a/nerfstudio/data/dataparsers/monosdf_dataparser.py b/nerfstudio/data/dataparsers/monosdf_dataparser.py index 310ed04e..778677e5 100644 --- a/nerfstudio/data/dataparsers/monosdf_dataparser.py +++ b/nerfstudio/data/dataparsers/monosdf_dataparser.py @@ -18,7 +18,7 @@ from dataclasses import dataclass, field from glob import glob from pathlib import Path -from typing import Dict, Literal, Optional, Type +from typing_extensions import Dict, Literal, Optional, Type import cv2 import numpy as np diff --git a/scripts/extract_mesh.py b/scripts/extract_mesh.py index 7bbf8eb3..c19f85ef 100755 --- a/scripts/extract_mesh.py +++ b/scripts/extract_mesh.py @@ -6,7 +6,7 @@ from dataclasses import dataclass from pathlib import Path -from typing import Literal, Tuple +from typing_extensions import Literal, Tuple import torch import tyro