mirror of
https://github.com/pharmapsychotic/clip-interrogator-ext.git
synced 2026-03-13 17:29:59 +00:00
.
This commit is contained in:
@@ -79,8 +79,8 @@ def unload():
|
||||
print("Offloading CLIP Interrogator...")
|
||||
ci.caption_model = ci.caption_model.to(devices.cpu)
|
||||
ci.clip_model = ci.clip_model.to(devices.cpu)
|
||||
ci.caption_offload = True
|
||||
ci.clip_offload = True
|
||||
ci.caption_offloaded = True
|
||||
ci.clip_offloaded = True
|
||||
devices.torch_gc()
|
||||
|
||||
def image_analysis(image, clip_model_name):
|
||||
|
||||
Reference in New Issue
Block a user