Spaces:
Paused
Paused
Upload pytorch3d_stub/pytorch3d/renderer/__init__.py with huggingface_hub
Browse files
pytorch3d_stub/pytorch3d/renderer/__init__.py
CHANGED
|
@@ -6,7 +6,7 @@ import warnings
|
|
| 6 |
|
| 7 |
def __getattr__(name):
|
| 8 |
"""Catch-all: return a dummy class/function for any missing attribute."""
|
| 9 |
-
if name.startswith("
|
| 10 |
raise AttributeError(name)
|
| 11 |
warnings.warn(f"pytorch3d.renderer stub: {name} not implemented, returning dummy", stacklevel=2)
|
| 12 |
class _Dummy:
|
|
|
|
| 6 |
|
| 7 |
def __getattr__(name):
|
| 8 |
"""Catch-all: return a dummy class/function for any missing attribute."""
|
| 9 |
+
if name.startswith("__") and name.endswith("__"):
|
| 10 |
raise AttributeError(name)
|
| 11 |
warnings.warn(f"pytorch3d.renderer stub: {name} not implemented, returning dummy", stacklevel=2)
|
| 12 |
class _Dummy:
|