x3d / configuration_x3d.py
zhong-al
Update paths
680eecc
raw
history blame
255 Bytes
from transformers import PretrainedConfig
from .cfg import load_config
class X3DConfig(PretrainedConfig):
model_type = "x3d"
def __init__(self, path: str = None, **kwargs):
super().__init__(**kwargs)
self.cfg = load_config(path)