Skip to content

SUPRA-Tex: 3D Generation with Super-Aligned Texture

270 B
Raw Blame
from abc import ABC, abstractmethod

import torch.nn as nn


class BaseUpsampler(nn.Module, ABC):
    def __init__(self, *args, **kwargs):
        super().__init__()

    @abstractmethod
    def forward(self, image, features, output_size, *args, **kwargs):
        pass