Spaces:
Configuration error
Configuration error
Download primitive_anything/michelangelo/models/asl_diffusion/base.py from abidlabs/PrimitiveAnythingCachedExamples: direct link, hf CLI and curl.
- Browser
- Download file 218 Bytes
-
https://huggingface.co/spaces/abidlabs/PrimitiveAnythingCachedExamples/resolve/main/primitive_anything/michelangelo/models/asl_diffusion/base.py
- Command line
-
hf download hf://spaces/abidlabs/PrimitiveAnythingCachedExamples/primitive_anything/michelangelo/models/asl_diffusion/base.py
-
curl -L -o base.py https://huggingface.co/spaces/abidlabs/PrimitiveAnythingCachedExamples/resolve/main/primitive_anything/michelangelo/models/asl_diffusion/base.py
218 Bytes
| # -*- coding: utf-8 -*- | |
| import torch | |
| import torch.nn as nn | |
| class BaseDenoiser(nn.Module): | |
| def __init__(self): | |
| super().__init__() | |
| def forward(self, x, t, context): | |
| raise NotImplementedError | |