4
0
mirror of https://github.com/nerfstudio-project/nerfstudio.git synced 2026-11-11 02:24:38 +08:00
nerfstudio/tests/nerf/field_modules/test_embedding.py
Ethan Weber 1c1a58c4e5
nerf-w and semantic-nerf initial implementations (#73)
* 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
2022-05-13 17:44:16 -07:00

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