nekoshadow commited on
Commit
6ad2dc4
β€’
1 Parent(s): c6645fc

Fix import issue

Browse files
Files changed (46) hide show
  1. {ckpt β†’ SyncDreamer/ckpt}/ViT-L-14.pt +0 -0
  2. {ckpt β†’ SyncDreamer/ckpt}/new.txt +0 -0
  3. {ckpt β†’ SyncDreamer/ckpt}/sam_vit_h_4b8939.pth +0 -0
  4. {ckpt β†’ SyncDreamer/ckpt}/syncdreamer-pretrain.ckpt +0 -0
  5. {configs β†’ SyncDreamer/configs}/nerf.yaml +0 -0
  6. {configs β†’ SyncDreamer/configs}/neus.yaml +0 -0
  7. {configs β†’ SyncDreamer/configs}/syncdreamer-train.yaml +0 -0
  8. {configs β†’ SyncDreamer/configs}/syncdreamer.yaml +0 -0
  9. {ldm β†’ SyncDreamer/ldm}/base_utils.py +0 -0
  10. {ldm β†’ SyncDreamer/ldm}/data/__init__.py +0 -0
  11. {ldm β†’ SyncDreamer/ldm}/data/base.py +0 -0
  12. {ldm β†’ SyncDreamer/ldm}/data/coco.py +0 -0
  13. {ldm β†’ SyncDreamer/ldm}/data/dummy.py +0 -0
  14. {ldm β†’ SyncDreamer/ldm}/data/imagenet.py +0 -0
  15. {ldm β†’ SyncDreamer/ldm}/data/inpainting/__init__.py +0 -0
  16. {ldm β†’ SyncDreamer/ldm}/data/inpainting/synthetic_mask.py +0 -0
  17. {ldm β†’ SyncDreamer/ldm}/data/laion.py +0 -0
  18. {ldm β†’ SyncDreamer/ldm}/data/lsun.py +0 -0
  19. {ldm β†’ SyncDreamer/ldm}/data/nerf_like.py +0 -0
  20. {ldm β†’ SyncDreamer/ldm}/data/simple.py +0 -0
  21. {ldm β†’ SyncDreamer/ldm}/data/sync_dreamer.py +0 -0
  22. {ldm β†’ SyncDreamer/ldm}/lr_scheduler.py +0 -0
  23. {ldm β†’ SyncDreamer/ldm}/models/autoencoder.py +0 -0
  24. {ldm β†’ SyncDreamer/ldm}/models/diffusion/__init__.py +0 -0
  25. {ldm β†’ SyncDreamer/ldm}/models/diffusion/sync_dreamer.py +0 -0
  26. {ldm β†’ SyncDreamer/ldm}/models/diffusion/sync_dreamer_attention.py +0 -0
  27. {ldm β†’ SyncDreamer/ldm}/models/diffusion/sync_dreamer_network.py +0 -0
  28. {ldm β†’ SyncDreamer/ldm}/models/diffusion/sync_dreamer_utils.py +0 -0
  29. {ldm β†’ SyncDreamer/ldm}/modules/attention.py +0 -0
  30. {ldm β†’ SyncDreamer/ldm}/modules/diffusionmodules/__init__.py +0 -0
  31. {ldm β†’ SyncDreamer/ldm}/modules/diffusionmodules/model.py +0 -0
  32. {ldm β†’ SyncDreamer/ldm}/modules/diffusionmodules/openaimodel.py +0 -0
  33. {ldm β†’ SyncDreamer/ldm}/modules/diffusionmodules/util.py +0 -0
  34. {ldm β†’ SyncDreamer/ldm}/modules/distributions/__init__.py +0 -0
  35. {ldm β†’ SyncDreamer/ldm}/modules/distributions/distributions.py +0 -0
  36. {ldm β†’ SyncDreamer/ldm}/modules/encoders/__init__.py +0 -0
  37. {ldm β†’ SyncDreamer/ldm}/modules/encoders/modules.py +0 -0
  38. {ldm β†’ SyncDreamer/ldm}/modules/x_transformer.py +0 -0
  39. {ldm β†’ SyncDreamer/ldm}/thirdp/psp/helpers.py +0 -0
  40. {ldm β†’ SyncDreamer/ldm}/thirdp/psp/id_loss.py +0 -0
  41. {ldm β†’ SyncDreamer/ldm}/thirdp/psp/model_irse.py +0 -0
  42. {ldm β†’ SyncDreamer/ldm}/util.py +0 -0
  43. {meta_info β†’ SyncDreamer/meta_info}/camera-16.pkl +0 -0
  44. app.py +3 -3
  45. controlnet_sync.py +4 -4
  46. pipeline_controlnet_sync.py +2 -2
{ckpt β†’ SyncDreamer/ckpt}/ViT-L-14.pt RENAMED
File without changes
{ckpt β†’ SyncDreamer/ckpt}/new.txt RENAMED
File without changes
{ckpt β†’ SyncDreamer/ckpt}/sam_vit_h_4b8939.pth RENAMED
File without changes
{ckpt β†’ SyncDreamer/ckpt}/syncdreamer-pretrain.ckpt RENAMED
File without changes
{configs β†’ SyncDreamer/configs}/nerf.yaml RENAMED
File without changes
{configs β†’ SyncDreamer/configs}/neus.yaml RENAMED
File without changes
{configs β†’ SyncDreamer/configs}/syncdreamer-train.yaml RENAMED
File without changes
{configs β†’ SyncDreamer/configs}/syncdreamer.yaml RENAMED
File without changes
{ldm β†’ SyncDreamer/ldm}/base_utils.py RENAMED
File without changes
{ldm β†’ SyncDreamer/ldm}/data/__init__.py RENAMED
File without changes
{ldm β†’ SyncDreamer/ldm}/data/base.py RENAMED
File without changes
{ldm β†’ SyncDreamer/ldm}/data/coco.py RENAMED
File without changes
{ldm β†’ SyncDreamer/ldm}/data/dummy.py RENAMED
File without changes
{ldm β†’ SyncDreamer/ldm}/data/imagenet.py RENAMED
File without changes
{ldm β†’ SyncDreamer/ldm}/data/inpainting/__init__.py RENAMED
File without changes
{ldm β†’ SyncDreamer/ldm}/data/inpainting/synthetic_mask.py RENAMED
File without changes
{ldm β†’ SyncDreamer/ldm}/data/laion.py RENAMED
File without changes
{ldm β†’ SyncDreamer/ldm}/data/lsun.py RENAMED
File without changes
{ldm β†’ SyncDreamer/ldm}/data/nerf_like.py RENAMED
File without changes
{ldm β†’ SyncDreamer/ldm}/data/simple.py RENAMED
File without changes
{ldm β†’ SyncDreamer/ldm}/data/sync_dreamer.py RENAMED
File without changes
{ldm β†’ SyncDreamer/ldm}/lr_scheduler.py RENAMED
File without changes
{ldm β†’ SyncDreamer/ldm}/models/autoencoder.py RENAMED
File without changes
{ldm β†’ SyncDreamer/ldm}/models/diffusion/__init__.py RENAMED
File without changes
{ldm β†’ SyncDreamer/ldm}/models/diffusion/sync_dreamer.py RENAMED
File without changes
{ldm β†’ SyncDreamer/ldm}/models/diffusion/sync_dreamer_attention.py RENAMED
File without changes
{ldm β†’ SyncDreamer/ldm}/models/diffusion/sync_dreamer_network.py RENAMED
File without changes
{ldm β†’ SyncDreamer/ldm}/models/diffusion/sync_dreamer_utils.py RENAMED
File without changes
{ldm β†’ SyncDreamer/ldm}/modules/attention.py RENAMED
File without changes
{ldm β†’ SyncDreamer/ldm}/modules/diffusionmodules/__init__.py RENAMED
File without changes
{ldm β†’ SyncDreamer/ldm}/modules/diffusionmodules/model.py RENAMED
File without changes
{ldm β†’ SyncDreamer/ldm}/modules/diffusionmodules/openaimodel.py RENAMED
File without changes
{ldm β†’ SyncDreamer/ldm}/modules/diffusionmodules/util.py RENAMED
File without changes
{ldm β†’ SyncDreamer/ldm}/modules/distributions/__init__.py RENAMED
File without changes
{ldm β†’ SyncDreamer/ldm}/modules/distributions/distributions.py RENAMED
File without changes
{ldm β†’ SyncDreamer/ldm}/modules/encoders/__init__.py RENAMED
File without changes
{ldm β†’ SyncDreamer/ldm}/modules/encoders/modules.py RENAMED
File without changes
{ldm β†’ SyncDreamer/ldm}/modules/x_transformer.py RENAMED
File without changes
{ldm β†’ SyncDreamer/ldm}/thirdp/psp/helpers.py RENAMED
File without changes
{ldm β†’ SyncDreamer/ldm}/thirdp/psp/id_loss.py RENAMED
File without changes
{ldm β†’ SyncDreamer/ldm}/thirdp/psp/model_irse.py RENAMED
File without changes
{ldm β†’ SyncDreamer/ldm}/util.py RENAMED
File without changes
{meta_info β†’ SyncDreamer/meta_info}/camera-16.pkl RENAMED
File without changes
app.py CHANGED
@@ -8,11 +8,11 @@ import os
8
  import fire
9
  from omegaconf import OmegaConf
10
 
11
- from ldm.models.diffusion.sync_dreamer import SyncDDIMSampler, SyncMultiviewDiffusion
12
- from ldm.util import add_margin, instantiate_from_config
13
  from sam_utils import sam_init, sam_out_nosave
14
 
15
- from ldm.util import instantiate_from_config, prepare_inputs
16
  import argparse
17
  import cv2
18
  from transformers import pipeline
 
8
  import fire
9
  from omegaconf import OmegaConf
10
 
11
+ from SyncDreamer.ldm.models.diffusion.sync_dreamer import SyncDDIMSampler, SyncMultiviewDiffusion
12
+ from SyncDreamer.ldm.util import add_margin, instantiate_from_config
13
  from sam_utils import sam_init, sam_out_nosave
14
 
15
+ from SyncDreamer.ldm.util import instantiate_from_config, prepare_inputs
16
  import argparse
17
  import cv2
18
  from transformers import pipeline
controlnet_sync.py CHANGED
@@ -52,10 +52,10 @@ from diffusers.utils import (
52
  )
53
  from diffusers.utils.hub_utils import PushToHubMixin
54
 
55
- from ldm.modules.attention import default, zero_module, checkpoint
56
- from ldm.modules.diffusionmodules.openaimodel import UNetModel
57
- from ldm.modules.diffusionmodules.util import timestep_embedding
58
- from ldm.models.diffusion.sync_dreamer_attention import DepthWiseAttention
59
 
60
  logger = logging.get_logger(__name__) # pylint: disable=invalid-name
61
 
 
52
  )
53
  from diffusers.utils.hub_utils import PushToHubMixin
54
 
55
+ from SyncDreamer.ldm.modules.attention import default, zero_module, checkpoint
56
+ from SyncDreamer.ldm.modules.diffusionmodules.openaimodel import UNetModel
57
+ from SyncDreamer.ldm.modules.diffusionmodules.util import timestep_embedding
58
+ from SyncDreamer.ldm.models.diffusion.sync_dreamer_attention import DepthWiseAttention
59
 
60
  logger = logging.get_logger(__name__) # pylint: disable=invalid-name
61
 
pipeline_controlnet_sync.py CHANGED
@@ -45,8 +45,8 @@ from diffusers.pipelines.stable_diffusion.pipeline_output import StableDiffusion
45
  from diffusers.pipelines.stable_diffusion.safety_checker import StableDiffusionSafetyChecker
46
  from diffusers.pipelines.controlnet.multicontrolnet import MultiControlNetModel
47
 
48
- from ldm.models.diffusion.sync_dreamer import SyncMultiviewDiffusion, SyncDDIMSampler
49
- from ldm.util import prepare_inputs
50
 
51
  from tqdm import tqdm
52
 
 
45
  from diffusers.pipelines.stable_diffusion.safety_checker import StableDiffusionSafetyChecker
46
  from diffusers.pipelines.controlnet.multicontrolnet import MultiControlNetModel
47
 
48
+ from SyncDreamer.ldm.models.diffusion.sync_dreamer import SyncMultiviewDiffusion, SyncDDIMSampler
49
+ from SyncDreamer.ldm.util import prepare_inputs
50
 
51
  from tqdm import tqdm
52