Spaces:
Running
on
L40S
Running
on
L40S
update
Browse files- infer_api.py +6 -7
infer_api.py
CHANGED
@@ -360,13 +360,6 @@ class InferAPI:
|
|
360 |
self.slrm_configs = slrm_configs
|
361 |
self.refine_configs = refine_configs
|
362 |
|
363 |
-
repo_id = "hyz317/StdGEN"
|
364 |
-
all_files = list_repo_files(repo_id, revision="main")
|
365 |
-
for file in all_files:
|
366 |
-
if os.path.exists(file):
|
367 |
-
continue
|
368 |
-
hf_hub_download(repo_id, file, local_dir="./ckpt")
|
369 |
-
|
370 |
# self.canonical_infer = InferCanonicalAPI(self.canonical_configs)
|
371 |
# self.multiview_infer = InferMultiviewAPI(self.multiview_configs)
|
372 |
# self.slrm_infer = InferSlrmAPI(self.slrm_configs)
|
@@ -810,6 +803,12 @@ class InferMultiviewAPI:
|
|
810 |
self.results[k] = results[k]
|
811 |
return results
|
812 |
|
|
|
|
|
|
|
|
|
|
|
|
|
813 |
|
814 |
infer_canonicalize_config = {
|
815 |
'config_path': './configs/canonicalization-infer.yaml',
|
|
|
360 |
self.slrm_configs = slrm_configs
|
361 |
self.refine_configs = refine_configs
|
362 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
363 |
# self.canonical_infer = InferCanonicalAPI(self.canonical_configs)
|
364 |
# self.multiview_infer = InferMultiviewAPI(self.multiview_configs)
|
365 |
# self.slrm_infer = InferSlrmAPI(self.slrm_configs)
|
|
|
803 |
self.results[k] = results[k]
|
804 |
return results
|
805 |
|
806 |
+
repo_id = "hyz317/StdGEN"
|
807 |
+
all_files = list_repo_files(repo_id, revision="main")
|
808 |
+
for file in all_files:
|
809 |
+
if os.path.exists(file):
|
810 |
+
continue
|
811 |
+
hf_hub_download(repo_id, file, local_dir="./ckpt")
|
812 |
|
813 |
infer_canonicalize_config = {
|
814 |
'config_path': './configs/canonicalization-infer.yaml',
|