Spaces:
Runtime error
Runtime error
File size: 647 Bytes
d572f56 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
import warnings
from typing import Any, Dict, Optional, Tuple, Union
import pytorch_lightning as pl
#from audiocraft.models import encodec
import torch
from torch import nn
from torch.nn import functional as F
from ...types import (
BatchedInputOutput,
InputType,
OperationMode,
OutputType,
SimpleishNamespace,
TensorCollection
)
import torchaudio as ta
class BaseEndToEndModule(pl.LightningModule):
def __init__(
self,
) -> None:
super().__init__()
if __name__ == "__main__":
model = BaseEndToEndModule()
print(model)
print(model.__class__.__name__)
print(model.__module__)
|