mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-11 02:24:38 +08:00
* initial nerfw code * nerfw should be implmented correctly now * semantic nerf in progress. data loader is too slow and not clean right now * added implementation of semantic nerf * mend
15 lines
251 B
Python
15 lines
251 B
Python
"""
|
|
Embedding tests
|
|
"""
|
|
from mattport.nerf.field_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
|