NIRVANALAN commited on
Commit
b84afd6
1 Parent(s): 7b873c3
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. app.py +10 -8
  2. cldm/__pycache__/cldm.cpython-310.pyc +0 -0
  3. datasets/__pycache__/eg3d_dataset.cpython-310.pyc +0 -0
  4. datasets/__pycache__/shapenet.cpython-310.pyc +0 -0
  5. dit/__pycache__/__init__.cpython-310.pyc +0 -0
  6. dit/__pycache__/dit_i23d.cpython-310.pyc +0 -0
  7. dit/__pycache__/dit_models.cpython-310.pyc +0 -0
  8. dit/__pycache__/dit_models_xformers.cpython-310.pyc +0 -0
  9. dit/__pycache__/dit_trilatent.cpython-310.pyc +0 -0
  10. dnnlib/__pycache__/__init__.cpython-310.pyc +0 -0
  11. dnnlib/__pycache__/util.cpython-310.pyc +0 -0
  12. guided_diffusion/__pycache__/__init__.cpython-310.pyc +0 -0
  13. guided_diffusion/__pycache__/continuous_diffusion.cpython-310.pyc +0 -0
  14. guided_diffusion/__pycache__/continuous_diffusion_utils.cpython-310.pyc +0 -0
  15. guided_diffusion/__pycache__/continuous_distributions.cpython-310.pyc +0 -0
  16. guided_diffusion/__pycache__/dist_util.cpython-310.pyc +0 -0
  17. guided_diffusion/__pycache__/fp16_util.cpython-310.pyc +0 -0
  18. guided_diffusion/__pycache__/gaussian_diffusion.cpython-310.pyc +0 -0
  19. guided_diffusion/__pycache__/logger.cpython-310.pyc +0 -0
  20. guided_diffusion/__pycache__/losses.cpython-310.pyc +0 -0
  21. guided_diffusion/__pycache__/nn.cpython-310.pyc +0 -0
  22. guided_diffusion/__pycache__/resample.cpython-310.pyc +0 -0
  23. guided_diffusion/__pycache__/respace.cpython-310.pyc +0 -0
  24. guided_diffusion/__pycache__/script_util.cpython-310.pyc +0 -0
  25. guided_diffusion/__pycache__/train_util.cpython-310.pyc +0 -0
  26. guided_diffusion/__pycache__/unet.cpython-310.pyc +0 -0
  27. ldm/__pycache__/__init__.cpython-310.pyc +0 -0
  28. ldm/__pycache__/util.cpython-310.pyc +0 -0
  29. ldm/modules/__pycache__/attention.cpython-310.pyc +0 -0
  30. ldm/modules/__pycache__/attention_compat.cpython-310.pyc +0 -0
  31. ldm/modules/__pycache__/x_transformer.cpython-310.pyc +0 -0
  32. ldm/modules/diffusionmodules/__pycache__/__init__.cpython-310.pyc +0 -0
  33. ldm/modules/diffusionmodules/__pycache__/model.cpython-310.pyc +0 -0
  34. ldm/modules/diffusionmodules/__pycache__/mv_unet.cpython-310.pyc +0 -0
  35. ldm/modules/diffusionmodules/__pycache__/util.cpython-310.pyc +0 -0
  36. ldm/modules/encoders/__pycache__/__init__.cpython-310.pyc +0 -0
  37. ldm/modules/encoders/__pycache__/modules.cpython-310.pyc +0 -0
  38. nsr/__pycache__/__init__.cpython-310.pyc +0 -0
  39. nsr/__pycache__/camera_utils.cpython-310.pyc +0 -0
  40. nsr/__pycache__/common_blks.cpython-310.pyc +0 -0
  41. nsr/__pycache__/confnet.cpython-310.pyc +0 -0
  42. nsr/__pycache__/networks_stylegan2.cpython-310.pyc +0 -0
  43. nsr/__pycache__/script_util.cpython-310.pyc +0 -0
  44. nsr/__pycache__/superresolution.cpython-310.pyc +0 -0
  45. nsr/__pycache__/train_util.cpython-310.pyc +0 -0
  46. nsr/__pycache__/train_util_cvD.cpython-310.pyc +0 -0
  47. nsr/__pycache__/train_util_diffusion.cpython-310.pyc +0 -0
  48. nsr/__pycache__/train_util_with_eg3d.cpython-310.pyc +0 -0
  49. nsr/__pycache__/triplane.cpython-310.pyc +0 -0
  50. nsr/cvD/__pycache__/__init__.cpython-310.pyc +0 -0
app.py CHANGED
@@ -32,18 +32,18 @@ import numpy as np
32
  import torch as th
33
  import torch.distributed as dist
34
 
35
- # def install_dependency():
36
- # # install apex
37
- # subprocess.run(
38
- # f'FORCE_CUDA=1 {sys.executable} -m pip install -v --disable-pip-version-check --no-cache-dir --no-build-isolation --config-settings "--build-option=--cpp_ext" --config-settings "--build-option=--cuda_ext" git+https://github.com/NVIDIA/apex.git@master',
39
- # shell=True,
40
- # )
41
 
42
  th.backends.cuda.matmul.allow_tf32 = True
43
  th.backends.cudnn.allow_tf32 = True
44
  th.backends.cudnn.enabled = True
45
 
46
- # install_dependency()
47
 
48
  from guided_diffusion import dist_util, logger
49
  from guided_diffusion.script_util import (
@@ -457,7 +457,8 @@ if __name__ == "__main__":
457
 
458
  args = create_argparser().parse_args()
459
 
460
- args.local_rank = int(os.environ["LOCAL_RANK"])
 
461
  args.gpus = th.cuda.device_count()
462
 
463
  args.rendering_kwargs = rendering_options_defaults(args)
@@ -474,3 +475,4 @@ if __name__ == "__main__":
474
  return f"Hello {zero + n} Tensor"
475
 
476
  demo = gr.Interface(fn=greet, inputs=gr.Number(), outputs=gr.Text())
 
 
32
  import torch as th
33
  import torch.distributed as dist
34
 
35
+ def install_dependency():
36
+ # install apex
37
+ subprocess.run(
38
+ f'FORCE_CUDA=1 {sys.executable} -m pip install -v --disable-pip-version-check --no-cache-dir --no-build-isolation --config-settings "--build-option=--cpp_ext" --config-settings "--build-option=--cuda_ext" git+https://github.com/NVIDIA/apex.git@master',
39
+ shell=True,
40
+ )
41
 
42
  th.backends.cuda.matmul.allow_tf32 = True
43
  th.backends.cudnn.allow_tf32 = True
44
  th.backends.cudnn.enabled = True
45
 
46
+ install_dependency()
47
 
48
  from guided_diffusion import dist_util, logger
49
  from guided_diffusion.script_util import (
 
457
 
458
  args = create_argparser().parse_args()
459
 
460
+ # args.local_rank = int(os.environ["LOCAL_RANK"])
461
+ args.local_rank = 0
462
  args.gpus = th.cuda.device_count()
463
 
464
  args.rendering_kwargs = rendering_options_defaults(args)
 
475
  return f"Hello {zero + n} Tensor"
476
 
477
  demo = gr.Interface(fn=greet, inputs=gr.Number(), outputs=gr.Text())
478
+ demo.launch()
cldm/__pycache__/cldm.cpython-310.pyc CHANGED
Binary files a/cldm/__pycache__/cldm.cpython-310.pyc and b/cldm/__pycache__/cldm.cpython-310.pyc differ
 
datasets/__pycache__/eg3d_dataset.cpython-310.pyc CHANGED
Binary files a/datasets/__pycache__/eg3d_dataset.cpython-310.pyc and b/datasets/__pycache__/eg3d_dataset.cpython-310.pyc differ
 
datasets/__pycache__/shapenet.cpython-310.pyc CHANGED
Binary files a/datasets/__pycache__/shapenet.cpython-310.pyc and b/datasets/__pycache__/shapenet.cpython-310.pyc differ
 
dit/__pycache__/__init__.cpython-310.pyc CHANGED
Binary files a/dit/__pycache__/__init__.cpython-310.pyc and b/dit/__pycache__/__init__.cpython-310.pyc differ
 
dit/__pycache__/dit_i23d.cpython-310.pyc CHANGED
Binary files a/dit/__pycache__/dit_i23d.cpython-310.pyc and b/dit/__pycache__/dit_i23d.cpython-310.pyc differ
 
dit/__pycache__/dit_models.cpython-310.pyc CHANGED
Binary files a/dit/__pycache__/dit_models.cpython-310.pyc and b/dit/__pycache__/dit_models.cpython-310.pyc differ
 
dit/__pycache__/dit_models_xformers.cpython-310.pyc CHANGED
Binary files a/dit/__pycache__/dit_models_xformers.cpython-310.pyc and b/dit/__pycache__/dit_models_xformers.cpython-310.pyc differ
 
dit/__pycache__/dit_trilatent.cpython-310.pyc CHANGED
Binary files a/dit/__pycache__/dit_trilatent.cpython-310.pyc and b/dit/__pycache__/dit_trilatent.cpython-310.pyc differ
 
dnnlib/__pycache__/__init__.cpython-310.pyc CHANGED
Binary files a/dnnlib/__pycache__/__init__.cpython-310.pyc and b/dnnlib/__pycache__/__init__.cpython-310.pyc differ
 
dnnlib/__pycache__/util.cpython-310.pyc CHANGED
Binary files a/dnnlib/__pycache__/util.cpython-310.pyc and b/dnnlib/__pycache__/util.cpython-310.pyc differ
 
guided_diffusion/__pycache__/__init__.cpython-310.pyc CHANGED
Binary files a/guided_diffusion/__pycache__/__init__.cpython-310.pyc and b/guided_diffusion/__pycache__/__init__.cpython-310.pyc differ
 
guided_diffusion/__pycache__/continuous_diffusion.cpython-310.pyc CHANGED
Binary files a/guided_diffusion/__pycache__/continuous_diffusion.cpython-310.pyc and b/guided_diffusion/__pycache__/continuous_diffusion.cpython-310.pyc differ
 
guided_diffusion/__pycache__/continuous_diffusion_utils.cpython-310.pyc CHANGED
Binary files a/guided_diffusion/__pycache__/continuous_diffusion_utils.cpython-310.pyc and b/guided_diffusion/__pycache__/continuous_diffusion_utils.cpython-310.pyc differ
 
guided_diffusion/__pycache__/continuous_distributions.cpython-310.pyc CHANGED
Binary files a/guided_diffusion/__pycache__/continuous_distributions.cpython-310.pyc and b/guided_diffusion/__pycache__/continuous_distributions.cpython-310.pyc differ
 
guided_diffusion/__pycache__/dist_util.cpython-310.pyc CHANGED
Binary files a/guided_diffusion/__pycache__/dist_util.cpython-310.pyc and b/guided_diffusion/__pycache__/dist_util.cpython-310.pyc differ
 
guided_diffusion/__pycache__/fp16_util.cpython-310.pyc CHANGED
Binary files a/guided_diffusion/__pycache__/fp16_util.cpython-310.pyc and b/guided_diffusion/__pycache__/fp16_util.cpython-310.pyc differ
 
guided_diffusion/__pycache__/gaussian_diffusion.cpython-310.pyc CHANGED
Binary files a/guided_diffusion/__pycache__/gaussian_diffusion.cpython-310.pyc and b/guided_diffusion/__pycache__/gaussian_diffusion.cpython-310.pyc differ
 
guided_diffusion/__pycache__/logger.cpython-310.pyc CHANGED
Binary files a/guided_diffusion/__pycache__/logger.cpython-310.pyc and b/guided_diffusion/__pycache__/logger.cpython-310.pyc differ
 
guided_diffusion/__pycache__/losses.cpython-310.pyc CHANGED
Binary files a/guided_diffusion/__pycache__/losses.cpython-310.pyc and b/guided_diffusion/__pycache__/losses.cpython-310.pyc differ
 
guided_diffusion/__pycache__/nn.cpython-310.pyc CHANGED
Binary files a/guided_diffusion/__pycache__/nn.cpython-310.pyc and b/guided_diffusion/__pycache__/nn.cpython-310.pyc differ
 
guided_diffusion/__pycache__/resample.cpython-310.pyc CHANGED
Binary files a/guided_diffusion/__pycache__/resample.cpython-310.pyc and b/guided_diffusion/__pycache__/resample.cpython-310.pyc differ
 
guided_diffusion/__pycache__/respace.cpython-310.pyc CHANGED
Binary files a/guided_diffusion/__pycache__/respace.cpython-310.pyc and b/guided_diffusion/__pycache__/respace.cpython-310.pyc differ
 
guided_diffusion/__pycache__/script_util.cpython-310.pyc CHANGED
Binary files a/guided_diffusion/__pycache__/script_util.cpython-310.pyc and b/guided_diffusion/__pycache__/script_util.cpython-310.pyc differ
 
guided_diffusion/__pycache__/train_util.cpython-310.pyc CHANGED
Binary files a/guided_diffusion/__pycache__/train_util.cpython-310.pyc and b/guided_diffusion/__pycache__/train_util.cpython-310.pyc differ
 
guided_diffusion/__pycache__/unet.cpython-310.pyc CHANGED
Binary files a/guided_diffusion/__pycache__/unet.cpython-310.pyc and b/guided_diffusion/__pycache__/unet.cpython-310.pyc differ
 
ldm/__pycache__/__init__.cpython-310.pyc CHANGED
Binary files a/ldm/__pycache__/__init__.cpython-310.pyc and b/ldm/__pycache__/__init__.cpython-310.pyc differ
 
ldm/__pycache__/util.cpython-310.pyc CHANGED
Binary files a/ldm/__pycache__/util.cpython-310.pyc and b/ldm/__pycache__/util.cpython-310.pyc differ
 
ldm/modules/__pycache__/attention.cpython-310.pyc CHANGED
Binary files a/ldm/modules/__pycache__/attention.cpython-310.pyc and b/ldm/modules/__pycache__/attention.cpython-310.pyc differ
 
ldm/modules/__pycache__/attention_compat.cpython-310.pyc CHANGED
Binary files a/ldm/modules/__pycache__/attention_compat.cpython-310.pyc and b/ldm/modules/__pycache__/attention_compat.cpython-310.pyc differ
 
ldm/modules/__pycache__/x_transformer.cpython-310.pyc CHANGED
Binary files a/ldm/modules/__pycache__/x_transformer.cpython-310.pyc and b/ldm/modules/__pycache__/x_transformer.cpython-310.pyc differ
 
ldm/modules/diffusionmodules/__pycache__/__init__.cpython-310.pyc CHANGED
Binary files a/ldm/modules/diffusionmodules/__pycache__/__init__.cpython-310.pyc and b/ldm/modules/diffusionmodules/__pycache__/__init__.cpython-310.pyc differ
 
ldm/modules/diffusionmodules/__pycache__/model.cpython-310.pyc CHANGED
Binary files a/ldm/modules/diffusionmodules/__pycache__/model.cpython-310.pyc and b/ldm/modules/diffusionmodules/__pycache__/model.cpython-310.pyc differ
 
ldm/modules/diffusionmodules/__pycache__/mv_unet.cpython-310.pyc CHANGED
Binary files a/ldm/modules/diffusionmodules/__pycache__/mv_unet.cpython-310.pyc and b/ldm/modules/diffusionmodules/__pycache__/mv_unet.cpython-310.pyc differ
 
ldm/modules/diffusionmodules/__pycache__/util.cpython-310.pyc CHANGED
Binary files a/ldm/modules/diffusionmodules/__pycache__/util.cpython-310.pyc and b/ldm/modules/diffusionmodules/__pycache__/util.cpython-310.pyc differ
 
ldm/modules/encoders/__pycache__/__init__.cpython-310.pyc CHANGED
Binary files a/ldm/modules/encoders/__pycache__/__init__.cpython-310.pyc and b/ldm/modules/encoders/__pycache__/__init__.cpython-310.pyc differ
 
ldm/modules/encoders/__pycache__/modules.cpython-310.pyc CHANGED
Binary files a/ldm/modules/encoders/__pycache__/modules.cpython-310.pyc and b/ldm/modules/encoders/__pycache__/modules.cpython-310.pyc differ
 
nsr/__pycache__/__init__.cpython-310.pyc CHANGED
Binary files a/nsr/__pycache__/__init__.cpython-310.pyc and b/nsr/__pycache__/__init__.cpython-310.pyc differ
 
nsr/__pycache__/camera_utils.cpython-310.pyc CHANGED
Binary files a/nsr/__pycache__/camera_utils.cpython-310.pyc and b/nsr/__pycache__/camera_utils.cpython-310.pyc differ
 
nsr/__pycache__/common_blks.cpython-310.pyc CHANGED
Binary files a/nsr/__pycache__/common_blks.cpython-310.pyc and b/nsr/__pycache__/common_blks.cpython-310.pyc differ
 
nsr/__pycache__/confnet.cpython-310.pyc CHANGED
Binary files a/nsr/__pycache__/confnet.cpython-310.pyc and b/nsr/__pycache__/confnet.cpython-310.pyc differ
 
nsr/__pycache__/networks_stylegan2.cpython-310.pyc CHANGED
Binary files a/nsr/__pycache__/networks_stylegan2.cpython-310.pyc and b/nsr/__pycache__/networks_stylegan2.cpython-310.pyc differ
 
nsr/__pycache__/script_util.cpython-310.pyc CHANGED
Binary files a/nsr/__pycache__/script_util.cpython-310.pyc and b/nsr/__pycache__/script_util.cpython-310.pyc differ
 
nsr/__pycache__/superresolution.cpython-310.pyc CHANGED
Binary files a/nsr/__pycache__/superresolution.cpython-310.pyc and b/nsr/__pycache__/superresolution.cpython-310.pyc differ
 
nsr/__pycache__/train_util.cpython-310.pyc CHANGED
Binary files a/nsr/__pycache__/train_util.cpython-310.pyc and b/nsr/__pycache__/train_util.cpython-310.pyc differ
 
nsr/__pycache__/train_util_cvD.cpython-310.pyc CHANGED
Binary files a/nsr/__pycache__/train_util_cvD.cpython-310.pyc and b/nsr/__pycache__/train_util_cvD.cpython-310.pyc differ
 
nsr/__pycache__/train_util_diffusion.cpython-310.pyc CHANGED
Binary files a/nsr/__pycache__/train_util_diffusion.cpython-310.pyc and b/nsr/__pycache__/train_util_diffusion.cpython-310.pyc differ
 
nsr/__pycache__/train_util_with_eg3d.cpython-310.pyc CHANGED
Binary files a/nsr/__pycache__/train_util_with_eg3d.cpython-310.pyc and b/nsr/__pycache__/train_util_with_eg3d.cpython-310.pyc differ
 
nsr/__pycache__/triplane.cpython-310.pyc CHANGED
Binary files a/nsr/__pycache__/triplane.cpython-310.pyc and b/nsr/__pycache__/triplane.cpython-310.pyc differ
 
nsr/cvD/__pycache__/__init__.cpython-310.pyc CHANGED
Binary files a/nsr/cvD/__pycache__/__init__.cpython-310.pyc and b/nsr/cvD/__pycache__/__init__.cpython-310.pyc differ