Support python 3.7 (#802)

* Support python 3.7

* Update docs
This commit is contained in:
Matthew Tancik authored and GitHub committed 2022-10-18 16:49:27 -07:00
1 parent 951d972716
commit 9bed69601f
15 files changed
+37 -24

No files matched your search

+2 -2
View File
@@ -20,13 +20,13 @@ from __future__ import annotations
import functools
from dataclasses import dataclass, field
from typing import Literal, Type, Union
from typing import Type, Union
import torch
import tyro
from torch import nn
from torchtyping import TensorType
from typing_extensions import assert_never
from typing_extensions import Literal, assert_never
from nerfstudio.cameras.lie_groups import exp_map_SE3, exp_map_SO3xR3
from nerfstudio.configs import base_config as cfg
+2 -1
View File
@@ -17,11 +17,12 @@ Camera transformation helper code.
"""
import math
from typing import List, Literal, Optional, Tuple
from typing import List, Optional, Tuple
import numpy as np
import torch
from torchtyping import TensorType
from typing_extensions import Literal
_EPS = np.finfo(float).eps * 4.0