Skip to content

Commit

Permalink
Merge pull request #15 from sutro-planet/fix/use-gpu
Browse files Browse the repository at this point in the history
Change default pytorch device type to cuda0 默认使用GPU节点
  • Loading branch information
HanFa authored May 28, 2024
2 parents c8f9f0a + 90ad1de commit bd4bb0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytvzhen-config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"OUTPUT_PATH": "./output",
"REMOVE_BACKGROUND_MUSIC_TORCH_DEVICE": "cpu",
"REMOVE_BACKGROUND_MUSIC_TORCH_DEVICE": "cuda:0",
"REMOVE_BACKGROUND_MUSIC_BASELINE_MODEL_PATH": "./models/baseline.pth"
}

0 comments on commit bd4bb0d

Please sign in to comment.