mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-04-20 03:13:30 +00:00
Update model_patcher.py
This commit is contained in:
parent
a605201278
commit
fb281b3c52
@ -415,7 +415,6 @@ class ModelPatcher:
|
||||
Example:
|
||||
patcher = ModelPatcher()
|
||||
weight = patcher.get_model_object("layer1.conv.weight")
|
||||
# Equivalent to: patcher.model.layer1.conv.weight
|
||||
"""
|
||||
if name in self.object_patches:
|
||||
return self.object_patches[name]
|
||||
|
Loading…
Reference in New Issue
Block a user