fix mmlp mode
This commit is contained in:
parent
a8969ea76e
commit
bdccc22b9f
@ -112,7 +112,7 @@ def fit(rank, world_size, cfg):
|
|||||||
fusion_depth_list = [int(ch) for ch in model_type[2:]]
|
fusion_depth_list = [int(ch) for ch in model_type[2:]]
|
||||||
model = MOAFWithSE(fusion_depth_list).to(device)
|
model = MOAFWithSE(fusion_depth_list).to(device)
|
||||||
elif "mmlp" in model_type:
|
elif "mmlp" in model_type:
|
||||||
model = MOAFWithMMLP(fusion_depth_list).to(device)
|
model = MOAFWithMMLP().to(device)
|
||||||
else:
|
else:
|
||||||
model = MOAFNoFusion().to(device)
|
model = MOAFNoFusion().to(device)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user