Skip to content

Commit 52c71b8

Browse files
nikhilaravifacebook-github-bot
authored andcommitted
Update Harmonic embedding in NeRF
Summary: Removed harmonic embedding function from projects/nerf and changed import to be from core pytorch3d. Reviewed By: patricklabatut Differential Revision: D33142358 fbshipit-source-id: 3004247d50392dbd04ea72e9cd4bace0dc03606b
1 parent f9a26a2 commit 52c71b8

File tree

2 files changed

+1
-90
lines changed

2 files changed

+1
-90
lines changed

projects/nerf/nerf/harmonic_embedding.py

-88
This file was deleted.

projects/nerf/nerf/implicit_function.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,8 @@
77
from typing import Tuple
88

99
import torch
10-
from pytorch3d.renderer import RayBundle, ray_bundle_to_ray_points
10+
from pytorch3d.renderer import RayBundle, ray_bundle_to_ray_points, HarmonicEmbedding
1111

12-
from .harmonic_embedding import HarmonicEmbedding
1312
from .linear_with_repeat import LinearWithRepeat
1413

1514

0 commit comments

Comments
 (0)