JiantaoLin
commited on
Commit
·
695a6b1
1
Parent(s):
adbf5da
new
Browse files
pipeline/kiss3d_wrapper.py
CHANGED
@@ -133,6 +133,7 @@ def init_wrapper_from_config(config_path):
|
|
133 |
# caption_processor = AutoProcessor.from_pretrained(config_['caption']['base_model'], trust_remote_code=True)
|
134 |
# logger.warning(f"GPU memory allocated after load caption model on {caption_device}: {torch.cuda.memory_allocated(device=caption_device) / 1024**3} GB")
|
135 |
caption_processor = None
|
|
|
136 |
|
137 |
# load reconstruction model
|
138 |
logger.info('==> Loading reconstruction model ...')
|
|
|
133 |
# caption_processor = AutoProcessor.from_pretrained(config_['caption']['base_model'], trust_remote_code=True)
|
134 |
# logger.warning(f"GPU memory allocated after load caption model on {caption_device}: {torch.cuda.memory_allocated(device=caption_device) / 1024**3} GB")
|
135 |
caption_processor = None
|
136 |
+
caption_model = None
|
137 |
|
138 |
# load reconstruction model
|
139 |
logger.info('==> Loading reconstruction model ...')
|