Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
ComfyUI
Commits
cf5a211e
"...git@developer.sourcefind.cn:chenpangpang/diffusers.git" did not exist on "1fd647f2a0e97b3746a0a038a0b826f3c408422a"
Commit
cf5a211e
authored
Feb 24, 2023
by
comfyanonymous
Browse files
Remove some useless imports
parent
87b00b37
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
comfy/cldm/cldm.py
comfy/cldm/cldm.py
+0
-3
No files found.
comfy/cldm/cldm.py
View file @
cf5a211e
#taken from: https://github.com/lllyasviel/ControlNet
#taken from: https://github.com/lllyasviel/ControlNet
#and modified
#and modified
import
einops
import
torch
import
torch
import
torch
as
th
import
torch
as
th
import
torch.nn
as
nn
import
torch.nn
as
nn
...
@@ -13,8 +12,6 @@ from ldm.modules.diffusionmodules.util import (
...
@@ -13,8 +12,6 @@ from ldm.modules.diffusionmodules.util import (
timestep_embedding
,
timestep_embedding
,
)
)
from
einops
import
rearrange
,
repeat
from
torchvision.utils
import
make_grid
from
ldm.modules.attention
import
SpatialTransformer
from
ldm.modules.attention
import
SpatialTransformer
from
ldm.modules.diffusionmodules.openaimodel
import
UNetModel
,
TimestepEmbedSequential
,
ResBlock
,
Downsample
,
AttentionBlock
from
ldm.modules.diffusionmodules.openaimodel
import
UNetModel
,
TimestepEmbedSequential
,
ResBlock
,
Downsample
,
AttentionBlock
from
ldm.models.diffusion.ddpm
import
LatentDiffusion
from
ldm.models.diffusion.ddpm
import
LatentDiffusion
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment