mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-01 21:39:06 +08:00
Compatibility for numpy 2.0 (#3265)
* compat for numpy 2.0 * lint changes
This commit is contained in:
1 parent
9b3cbc79bf
commit
d6df39b70d
93 files changed
+104
-74
No files matched your search
@@ -1,6 +1,7 @@
|
||||
"""
|
||||
Embedding tests
|
||||
"""
|
||||
|
||||
from nerfstudio.field_components.embedding import Embedding
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
"""
|
||||
Encoding Tests
|
||||
"""
|
||||
|
||||
import pytest
|
||||
import torch
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
"""
|
||||
Field output tests
|
||||
"""
|
||||
|
||||
import pytest
|
||||
import torch
|
||||
from torch import nn
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
"""
|
||||
Test the fields
|
||||
"""
|
||||
|
||||
import torch
|
||||
|
||||
from nerfstudio.cameras.rays import Frustums, RaySamples
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
"""
|
||||
MLP Test
|
||||
"""
|
||||
|
||||
import torch
|
||||
from torch import nn
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
"""
|
||||
Test if temporal distortions run properly
|
||||
"""
|
||||
|
||||
import torch
|
||||
|
||||
from nerfstudio.field_components.temporal_distortions import DNeRFDistortion
|
||||
|
||||
Reference in new issue
Block a user