Spaces:
Sleeping
Sleeping
Georg
commited on
Commit
·
9526ed3
1
Parent(s):
cca7bfe
Prepare job build context
Browse files
app.py
CHANGED
|
@@ -115,8 +115,7 @@ class FoundationPoseInference:
|
|
| 115 |
from estimator import FoundationPoseEstimator
|
| 116 |
|
| 117 |
self.model = FoundationPoseEstimator(
|
| 118 |
-
device=str(self.device)
|
| 119 |
-
weights_dir="weights"
|
| 120 |
)
|
| 121 |
if getattr(self.model, "available", True):
|
| 122 |
logger.info("✓ Real FoundationPose model initialized successfully")
|
|
|
|
| 115 |
from estimator import FoundationPoseEstimator
|
| 116 |
|
| 117 |
self.model = FoundationPoseEstimator(
|
| 118 |
+
device=str(self.device)
|
|
|
|
| 119 |
)
|
| 120 |
if getattr(self.model, "available", True):
|
| 121 |
logger.info("✓ Real FoundationPose model initialized successfully")
|