Skip to content
Snippets Groups Projects
Commit e5217cab authored by Schneider Leo's avatar Schneider Leo
Browse files

add : model.float()

parent 0773a8e5
No related branches found
No related tags found
No related merge requests found
......@@ -107,7 +107,7 @@ def run_duo(args):
# load model
model = Classification_model_duo_contrastive(model=args.model, n_class=2)
model.double()
model.float()
# load weight
if args.pretrain_path is not None:
print('Model weight loaded')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment