Spaces:
Sleeping
Sleeping
Bobby
commited on
Commit
·
8991de8
1
Parent(s):
c287f98
scannet
Browse files
app.py
CHANGED
|
@@ -56,7 +56,7 @@ class Preprocessor:
|
|
| 56 |
return
|
| 57 |
elif name == "NormalBae":
|
| 58 |
print("Loading NormalBae")
|
| 59 |
-
model_file = hf_hub_download(self.MODEL_ID, filename="
|
| 60 |
self.model = NormalBaeDetector.from_pretrained(model_file).to("cuda")
|
| 61 |
torch.cuda.empty_cache()
|
| 62 |
self.name = name
|
|
|
|
| 56 |
return
|
| 57 |
elif name == "NormalBae":
|
| 58 |
print("Loading NormalBae")
|
| 59 |
+
model_file = hf_hub_download(self.MODEL_ID, filename="scannet.pt")
|
| 60 |
self.model = NormalBaeDetector.from_pretrained(model_file).to("cuda")
|
| 61 |
torch.cuda.empty_cache()
|
| 62 |
self.name = name
|