Skip to content

Commit

Permalink
Install osx bug
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximilianPi committed Apr 29, 2020
1 parent 2382b26 commit 699df1b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sjSDM/R/install.R
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,13 @@ install_sjSDM = function(method = "conda",
package = list()
package$conda =
switch(version,
cpu = "torch torchvision",
gpu = "torch torchvision")
cpu = "pytorch torchvision",
gpu = "pytorch torchvision")

package$pip =
switch(version,
cpu = "pytorch torchvision",
gpu = "pytorch torchvision")
cpu = "torch torchvision",
gpu = "torch torchvision")

if(version == "gpu") message("PyTorch does not provide cuda binaries for macOS, installing CPU version...\n")
}
Expand Down

0 comments on commit 699df1b

Please sign in to comment.