This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
https://arxiv.org/abs/2312.00858 | |
1. put this file in ComfyUI/custom_nodes | |
2. load node from <loaders> | |
start_step, end_step: apply this method when the timestep is between start_step and end_step | |
cache_interval: interval of caching (1 means no caching) | |
cache_depth: depth of caching | |
''' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
https://gist.github.com/kohya-ss/3f774da220df102548093a7abc8538ed | |
1. put this file in ComfyUI/custom_nodes | |
2. load node from <loaders> | |
''' | |
import torch | |
from comfy.ldm.modules.diffusionmodules.openaimodel import forward_timestep_embed, timestep_embedding, th | |
def apply_control(h, control, name): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import bpy | |
def get_grease_pencil(gpencil_obj_name='GPencil') -> bpy.types.GreasePencil: | |
""" | |
Return the grease-pencil object with the given name. Initialize one if not already present. | |
:param gpencil_obj_name: name/key of the grease pencil object in the scene | |
""" | |
# If not present already, create grease pencil object | |
if gpencil_obj_name not in bpy.context.scene.objects: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I am attesting that this GitHub handle https://www.github.com/jags111 is linked to the Tezos account tz1WLxr9rca5DkvbKfi7A5L1m7kxcwqKw9RR for tzprofiles | |
sig:edsigtsESkLjEJ4Tvfut5dWauu5EzsbEELxRRzy3Mk9s5DUThU5bppZEanXN5oSx2xrzYV1Xt4awNqbDEdtBaWwjf4kGj1kX7pd |