mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2024-12-03 04:50:15 -08:00
6 lines
185 B
Python
6 lines
185 B
Python
from .ModelBase import ModelBase
|
|
|
|
def import_model(model_class_name):
|
|
module = __import__('Model_'+model_class_name, globals(), locals(), [], 1)
|
|
return getattr(module, 'Model')
|