delete pycache
Browse files- michelangelo/__pycache__/__init__.cpython-39.pyc +0 -0
- michelangelo/data/__pycache__/__init__.cpython-39.pyc +0 -0
- michelangelo/data/__pycache__/asl_webdataset.cpython-39.pyc +0 -0
- michelangelo/data/__pycache__/tokenizer.cpython-39.pyc +0 -0
- michelangelo/data/__pycache__/transforms.cpython-39.pyc +0 -0
- michelangelo/data/__pycache__/utils.cpython-39.pyc +0 -0
- michelangelo/graphics/__pycache__/__init__.cpython-39.pyc +0 -0
- michelangelo/graphics/primitives/__pycache__/__init__.cpython-39.pyc +0 -0
- michelangelo/graphics/primitives/__pycache__/extract_texture_map.cpython-39.pyc +0 -0
- michelangelo/graphics/primitives/__pycache__/mesh.cpython-39.pyc +0 -0
- michelangelo/graphics/primitives/__pycache__/volume.cpython-39.pyc +0 -0
- michelangelo/models/__pycache__/__init__.cpython-39.pyc +0 -0
- michelangelo/models/asl_diffusion/__pycache__/__init__.cpython-39.pyc +0 -0
- michelangelo/models/asl_diffusion/__pycache__/asl_udt.cpython-39.pyc +0 -0
- michelangelo/models/asl_diffusion/__pycache__/clip_asl_diffuser_pl_module.cpython-39.pyc +0 -0
- michelangelo/models/asl_diffusion/__pycache__/inference_utils.cpython-39.pyc +0 -0
- michelangelo/models/conditional_encoders/__pycache__/__init__.cpython-39.pyc +0 -0
- michelangelo/models/conditional_encoders/__pycache__/clip.cpython-39.pyc +0 -0
- michelangelo/models/conditional_encoders/__pycache__/encoder_factory.cpython-39.pyc +0 -0
- michelangelo/models/modules/__pycache__/__init__.cpython-39.pyc +0 -0
- michelangelo/models/modules/__pycache__/checkpoint.cpython-39.pyc +0 -0
- michelangelo/models/modules/__pycache__/diffusion_transformer.cpython-39.pyc +0 -0
- michelangelo/models/modules/__pycache__/distributions.cpython-39.pyc +0 -0
- michelangelo/models/modules/__pycache__/embedder.cpython-39.pyc +0 -0
- michelangelo/models/modules/__pycache__/transformer_blocks.cpython-39.pyc +0 -0
- michelangelo/models/modules/checkpoint.py +1 -0
- michelangelo/models/modules/diffusion_transformer.py +0 -3
- michelangelo/models/modules/transformer_vit.py +0 -2
- michelangelo/models/tsal/__pycache__/__init__.cpython-39.pyc +0 -0
- michelangelo/models/tsal/__pycache__/asl_pl_module.cpython-39.pyc +0 -0
- michelangelo/models/tsal/__pycache__/clip_asl_module.cpython-39.pyc +0 -0
- michelangelo/models/tsal/__pycache__/inference_utils.cpython-39.pyc +0 -0
- michelangelo/models/tsal/__pycache__/loss.cpython-39.pyc +0 -0
- michelangelo/models/tsal/__pycache__/sal_perceiver.cpython-39.pyc +0 -0
- michelangelo/models/tsal/__pycache__/tsal_base.cpython-39.pyc +0 -0
- michelangelo/utils/__pycache__/__init__.cpython-39.pyc +0 -0
- michelangelo/utils/__pycache__/eval.cpython-39.pyc +0 -0
- michelangelo/utils/__pycache__/io.cpython-39.pyc +0 -0
- michelangelo/utils/__pycache__/misc.cpython-39.pyc +0 -0
- michelangelo/utils/visualizers/__pycache__/__init__.cpython-39.pyc +0 -0
- michelangelo/utils/visualizers/__pycache__/color_util.cpython-39.pyc +0 -0
- michelangelo/utils/visualizers/__pycache__/html_util.cpython-39.pyc +0 -0
- michelangelo/utils/visualizers/__pycache__/pythreejs_viewer.cpython-39.pyc +0 -0
michelangelo/__pycache__/__init__.cpython-39.pyc
DELETED
Binary file (176 Bytes)
|
|
michelangelo/data/__pycache__/__init__.cpython-39.pyc
DELETED
Binary file (181 Bytes)
|
|
michelangelo/data/__pycache__/asl_webdataset.cpython-39.pyc
DELETED
Binary file (9.43 kB)
|
|
michelangelo/data/__pycache__/tokenizer.cpython-39.pyc
DELETED
Binary file (6.48 kB)
|
|
michelangelo/data/__pycache__/transforms.cpython-39.pyc
DELETED
Binary file (11.4 kB)
|
|
michelangelo/data/__pycache__/utils.cpython-39.pyc
DELETED
Binary file (1.13 kB)
|
|
michelangelo/graphics/__pycache__/__init__.cpython-39.pyc
DELETED
Binary file (185 Bytes)
|
|
michelangelo/graphics/primitives/__pycache__/__init__.cpython-39.pyc
DELETED
Binary file (334 Bytes)
|
|
michelangelo/graphics/primitives/__pycache__/extract_texture_map.cpython-39.pyc
DELETED
Binary file (2.46 kB)
|
|
michelangelo/graphics/primitives/__pycache__/mesh.cpython-39.pyc
DELETED
Binary file (2.93 kB)
|
|
michelangelo/graphics/primitives/__pycache__/volume.cpython-39.pyc
DELETED
Binary file (860 Bytes)
|
|
michelangelo/models/__pycache__/__init__.cpython-39.pyc
DELETED
Binary file (183 Bytes)
|
|
michelangelo/models/asl_diffusion/__pycache__/__init__.cpython-39.pyc
DELETED
Binary file (197 Bytes)
|
|
michelangelo/models/asl_diffusion/__pycache__/asl_udt.cpython-39.pyc
DELETED
Binary file (2.64 kB)
|
|
michelangelo/models/asl_diffusion/__pycache__/clip_asl_diffuser_pl_module.cpython-39.pyc
DELETED
Binary file (9.87 kB)
|
|
michelangelo/models/asl_diffusion/__pycache__/inference_utils.cpython-39.pyc
DELETED
Binary file (1.75 kB)
|
|
michelangelo/models/conditional_encoders/__pycache__/__init__.cpython-39.pyc
DELETED
Binary file (244 Bytes)
|
|
michelangelo/models/conditional_encoders/__pycache__/clip.cpython-39.pyc
DELETED
Binary file (2.64 kB)
|
|
michelangelo/models/conditional_encoders/__pycache__/encoder_factory.cpython-39.pyc
DELETED
Binary file (14.5 kB)
|
|
michelangelo/models/modules/__pycache__/__init__.cpython-39.pyc
DELETED
Binary file (222 Bytes)
|
|
michelangelo/models/modules/__pycache__/checkpoint.cpython-39.pyc
DELETED
Binary file (2.63 kB)
|
|
michelangelo/models/modules/__pycache__/diffusion_transformer.cpython-39.pyc
DELETED
Binary file (5.21 kB)
|
|
michelangelo/models/modules/__pycache__/distributions.cpython-39.pyc
DELETED
Binary file (3.92 kB)
|
|
michelangelo/models/modules/__pycache__/embedder.cpython-39.pyc
DELETED
Binary file (7.29 kB)
|
|
michelangelo/models/modules/__pycache__/transformer_blocks.cpython-39.pyc
DELETED
Binary file (8.5 kB)
|
|
michelangelo/models/modules/checkpoint.py
CHANGED
@@ -26,6 +26,7 @@ def checkpoint(
|
|
26 |
"""
|
27 |
if flag:
|
28 |
if use_deepspeed:
|
|
|
29 |
return deepspeed.checkpointing.checkpoint(func, *inputs)
|
30 |
|
31 |
args = tuple(inputs) + tuple(params)
|
|
|
26 |
"""
|
27 |
if flag:
|
28 |
if use_deepspeed:
|
29 |
+
import deepspeed
|
30 |
return deepspeed.checkpointing.checkpoint(func, *inputs)
|
31 |
|
32 |
args = tuple(inputs) + tuple(params)
|
michelangelo/models/modules/diffusion_transformer.py
CHANGED
@@ -216,6 +216,3 @@ class UNetDiffusionTransformer(nn.Module):
|
|
216 |
x = resblock(x)
|
217 |
|
218 |
return x
|
219 |
-
|
220 |
-
|
221 |
-
|
|
|
216 |
x = resblock(x)
|
217 |
|
218 |
return x
|
|
|
|
|
|
michelangelo/models/modules/transformer_vit.py
CHANGED
@@ -306,5 +306,3 @@ class Transformer(nn.Module):
|
|
306 |
for block in self.resblocks:
|
307 |
x = block(x)
|
308 |
return x
|
309 |
-
|
310 |
-
|
|
|
306 |
for block in self.resblocks:
|
307 |
x = block(x)
|
308 |
return x
|
|
|
|
michelangelo/models/tsal/__pycache__/__init__.cpython-39.pyc
DELETED
Binary file (188 Bytes)
|
|
michelangelo/models/tsal/__pycache__/asl_pl_module.cpython-39.pyc
DELETED
Binary file (8.88 kB)
|
|
michelangelo/models/tsal/__pycache__/clip_asl_module.cpython-39.pyc
DELETED
Binary file (3.53 kB)
|
|
michelangelo/models/tsal/__pycache__/inference_utils.cpython-39.pyc
DELETED
Binary file (2.17 kB)
|
|
michelangelo/models/tsal/__pycache__/loss.cpython-39.pyc
DELETED
Binary file (7.72 kB)
|
|
michelangelo/models/tsal/__pycache__/sal_perceiver.cpython-39.pyc
DELETED
Binary file (9.88 kB)
|
|
michelangelo/models/tsal/__pycache__/tsal_base.cpython-39.pyc
DELETED
Binary file (5.82 kB)
|
|
michelangelo/utils/__pycache__/__init__.cpython-39.pyc
DELETED
Binary file (277 Bytes)
|
|
michelangelo/utils/__pycache__/eval.cpython-39.pyc
DELETED
Binary file (457 Bytes)
|
|
michelangelo/utils/__pycache__/io.cpython-39.pyc
DELETED
Binary file (1.62 kB)
|
|
michelangelo/utils/__pycache__/misc.cpython-39.pyc
DELETED
Binary file (2.84 kB)
|
|
michelangelo/utils/visualizers/__pycache__/__init__.cpython-39.pyc
DELETED
Binary file (194 Bytes)
|
|
michelangelo/utils/visualizers/__pycache__/color_util.cpython-39.pyc
DELETED
Binary file (1.44 kB)
|
|
michelangelo/utils/visualizers/__pycache__/html_util.cpython-39.pyc
DELETED
Binary file (1.22 kB)
|
|
michelangelo/utils/visualizers/__pycache__/pythreejs_viewer.cpython-39.pyc
DELETED
Binary file (14.9 kB)
|
|