Compatibility for numpy 2.0 (#3265)

* compat for numpy 2.0

* lint changes
This commit is contained in:
Justin Kerr authored and GitHub committed 2024-06-28 08:07:10 +09:00
1 parent 9b3cbc79bf
commit d6df39b70d
93 files changed
+104 -74

No files matched your search

-1
View File
@@ -16,7 +16,6 @@
Proposal network field.
"""
from typing import Literal, Optional, Tuple
import torch
-1
View File
@@ -16,7 +16,6 @@
Field for Generfacto model
"""
from typing import Dict, Literal, Optional, Tuple
import numpy as np
-1
View File
@@ -16,7 +16,6 @@
Field for compound nerf model, adds scene contraction and image embeddings to instant ngp
"""
from typing import Dict, Literal, Optional, Tuple
import torch
+1
View File
@@ -15,6 +15,7 @@
"""
Semantic NeRF field implementation.
"""
from typing import Dict, Optional, Tuple
import torch
-1
View File
@@ -14,7 +14,6 @@
"""TensoRF Field"""
from typing import Dict, Optional
import torch
-1
View File
@@ -14,7 +14,6 @@
"""Classic NeRF field"""
from typing import Dict, Optional, Tuple, Type
import torch