Chao Xu
commited on
Commit
·
fc96ff2
1
Parent(s):
169a228
change conf path
Browse files- zero123_utils.py +4 -1
zero123_utils.py
CHANGED
@@ -35,7 +35,10 @@ def load_model_from_config(config, ckpt, device, verbose=False):
|
|
35 |
|
36 |
|
37 |
def init_model(device, ckpt):
|
38 |
-
|
|
|
|
|
|
|
39 |
|
40 |
config = OmegaConf.load(config)
|
41 |
|
|
|
35 |
|
36 |
|
37 |
def init_model(device, ckpt):
|
38 |
+
import inspect
|
39 |
+
dir_path = os.path.dirname(os.path.abspath(
|
40 |
+
inspect.getfile(inspect.currentframe())))
|
41 |
+
config = os.path.join(dir_path, 'configs/sd-objaverse-finetune-c_concat-256.yaml')
|
42 |
|
43 |
config = OmegaConf.load(config)
|
44 |
|