Added cogview4. Loss still needs work.
This commit is contained in:
@@ -5,5 +5,8 @@ def get_model_class(config: ModelConfig):
|
||||
if config.arch == "wan21":
|
||||
from toolkit.models.wan21 import Wan21
|
||||
return Wan21
|
||||
elif config.arch == "cogview4":
|
||||
from toolkit.models.cogview4 import CogView4
|
||||
return CogView4
|
||||
else:
|
||||
return StableDiffusion
|
||||
Reference in New Issue
Block a user