Skip to content

Commit

Permalink
fixed missing moving model to device
Browse files Browse the repository at this point in the history
  • Loading branch information
adefossez committed Feb 12, 2020
1 parent 9c3a561 commit b49a679
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demucs/separate.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def main():
download_file(url, model_path)
if sha256 is not None:
verify_file(model_path, sha256)
model = load_model(model_path)
model = load_model(model_path).to(args.device)
out = args.out / args.name
out.mkdir(parents=True, exist_ok=True)
source_names = ["drums", "bass", "other", "vocals"]
Expand Down

0 comments on commit b49a679

Please sign in to comment.