Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
pytorch3d
Commits
492cb75a
Commit
492cb75a
authored
May 21, 2025
by
fengzch-das
Browse files
fix: can't import PulsarPointsRenderer
parent
c2596d1b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
pytorch3d/renderer/__init__.py
pytorch3d/renderer/__init__.py
+2
-2
pytorch3d/renderer/points/__init__.py
pytorch3d/renderer/points/__init__.py
+2
-2
No files found.
pytorch3d/renderer/__init__.py
View file @
492cb75a
...
@@ -80,8 +80,8 @@ from .points import (
...
@@ -80,8 +80,8 @@ from .points import (
)
)
# Pulsar is not enabled on amd.
# Pulsar is not enabled on amd.
if
not
torch
.
version
.
hip
:
#
if not torch.version.hip:
from
.points
import
PulsarPointsRenderer
from
.points
import
PulsarPointsRenderer
from
.splatter_blend
import
SplatterBlender
from
.splatter_blend
import
SplatterBlender
from
.utils
import
(
from
.utils
import
(
...
...
pytorch3d/renderer/points/__init__.py
View file @
492cb75a
...
@@ -11,8 +11,8 @@ import torch
...
@@ -11,8 +11,8 @@ import torch
from
.compositor
import
AlphaCompositor
,
NormWeightedCompositor
from
.compositor
import
AlphaCompositor
,
NormWeightedCompositor
# Pulsar not enabled on amd.
# Pulsar not enabled on amd.
if
not
torch
.
version
.
hip
:
#
if not torch.version.hip:
from
.pulsar.unified
import
PulsarPointsRenderer
from
.pulsar.unified
import
PulsarPointsRenderer
from
.rasterize_points
import
rasterize_points
from
.rasterize_points
import
rasterize_points
from
.rasterizer
import
PointsRasterizationSettings
,
PointsRasterizer
from
.rasterizer
import
PointsRasterizationSettings
,
PointsRasterizer
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment