mirror of
https://github.com/storytold/storyteller-ml.git
synced 2026-10-16 00:13:07 +00:00
5ab5b1c036
@ d7814fa44a0a1154524b92fce0e3133a2604d333 https://github.com/ali-vilab/UniAnimate
19 lines
373 B
Python
19 lines
373 B
Python
import os
|
|
import sys
|
|
import copy
|
|
import json
|
|
import math
|
|
import random
|
|
import logging
|
|
import itertools
|
|
import numpy as np
|
|
|
|
from utils.config import Config
|
|
from utils.registry_class import INFER_ENGINE
|
|
|
|
from tools import *
|
|
|
|
if __name__ == '__main__':
|
|
cfg_update = Config(load=True)
|
|
INFER_ENGINE.build(dict(type=cfg_update.TASK_TYPE), cfg_update=cfg_update.cfg_dict)
|