mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-22 07:35:26 +08:00
dataloader logic, new folder structure, flatter configs (#26)
* renaming dataloader to data. adding some dataloader classes * restructuring configs * fixed instant ngp tcnn direction rescaling * working through test cases * black and lint and tests
This commit is contained in:
1 parent
24c1c77ef1
commit
457788d689
105 files changed
+8828
-682
No files matched your search
@@ -0,0 +1,14 @@
|
||||
"""
|
||||
Embedding tests
|
||||
"""
|
||||
from pyrad.fields.modules.embedding import Embedding
|
||||
|
||||
|
||||
def test_indexing():
|
||||
"""Test embedding indexing"""
|
||||
in_dim = 100
|
||||
out_dim = 64
|
||||
|
||||
embedding = Embedding(in_dim, out_dim)
|
||||
assert embedding
|
||||
# TODO
|
||||
Reference in new issue
Block a user