mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-12-22 23:30:35 +08:00
Deprecate so3_exponential_map
Summary: Deprecate the `so3_exponential_map()` function in favor of its alias `so3_exp_map()`: this aligns with the naming of `so3_log_map()` and the recently introduced `se3_exp_map()` / `se3_log_map()` pair. Reviewed By: bottler Differential Revision: D29329966 fbshipit-source-id: b6f60b9e86b2995f70b1fbeb16f9feea05c55de9
This commit is contained in:
committed by
Facebook GitHub Bot
parent
f593bfd3c2
commit
5284de6e97
@@ -90,7 +90,7 @@
|
||||
" NDCGridRaysampler,\n",
|
||||
" EmissionAbsorptionRaymarcher\n",
|
||||
")\n",
|
||||
"from pytorch3d.transforms import so3_exponential_map\n",
|
||||
"from pytorch3d.transforms import so3_exp_map\n",
|
||||
"\n",
|
||||
"# add path for demo utils functions \n",
|
||||
"sys.path.append(os.path.abspath(''))\n",
|
||||
@@ -405,7 +405,7 @@
|
||||
"def generate_rotating_volume(volume_model, n_frames = 50):\n",
|
||||
" logRs = torch.zeros(n_frames, 3, device=device)\n",
|
||||
" logRs[:, 1] = torch.linspace(0.0, 2.0 * 3.14, n_frames, device=device)\n",
|
||||
" Rs = so3_exponential_map(logRs)\n",
|
||||
" Rs = so3_exp_map(logRs)\n",
|
||||
" Ts = torch.zeros(n_frames, 3, device=device)\n",
|
||||
" Ts[:, 2] = 2.7\n",
|
||||
" frames = []\n",
|
||||
|
||||
Reference in New Issue
Block a user