From b74712c964049b7d905f54b1adc35ca0745ae769 Mon Sep 17 00:00:00 2001 From: HeaIn Date: Thu, 11 Jul 2024 11:04:14 +0900 Subject: [PATCH] fix typing to typing_extensions for python3.7 --- nerfstudio/data/dataparsers/monosdf_dataparser.py | 2 +- scripts/extract_mesh.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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