Skip to content

Commit

Permalink
"Add HWC3 casting. Fix #443
Browse files Browse the repository at this point in the history
  • Loading branch information
Fannovel16 committed Aug 30, 2024
2 parents 239b357 + 6c563c5 commit 0476252
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
7 changes: 4 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
[project]
name = "comfyui_controlnet_aux"
description = "Plug-and-play ComfyUI node sets for making ControlNet hint images"
version = "1.0.4-alpha.5"
license = "LICENSE"
dependencies = ["torch", "importlib_metadata", "huggingface_hub", "scipy", "opencv-python>=4.7.0.72", "filelock", "numpy", "Pillow", "einops", "torchvision", "pyyaml", "scikit-image", "python-dateutil", "mediapipe", "svglib", "fvcore", "yapf", "omegaconf", "ftfy", "addict", "yacs", "trimesh[easy]", "albumentations", "scikit-learn"]

version = "1.0.4-alpha.7"
license = { file = "LICENSE.txt" }
dependencies = ["torch", "importlib_metadata", "huggingface_hub", "scipy", "opencv-python>=4.7.0.72", "filelock", "numpy", "Pillow", "einops", "torchvision", "pyyaml", "scikit-image", "python-dateutil", "mediapipe", "svglib", "fvcore", "yapf", "omegaconf", "ftfy", "addict", "yacs", "trimesh[easy]", "albumentations", "scikit-learn", "matplotlib"]

[project.urls]
Repository = "https://github.com/Fannovel16/comfyui_controlnet_aux"
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ yacs
trimesh[easy]
albumentations
scikit-learn
matplotlib
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import torch
import torch.nn as nn
import torch.nn.functional as F
from timm.models.layers import trunc_normal_, DropPath
from timm.models.registry import register_model
from custom_timm.models.layers import trunc_normal_, DropPath
from custom_timm.models.registry import register_model

class Block(nn.Module):
r""" ConvNeXt Block. There are two equivalent implementations:
Expand Down

0 comments on commit 0476252

Please sign in to comment.