Skip to content

Commit

Permalink
apparently torchvision is required
Browse files Browse the repository at this point in the history
  • Loading branch information
TNTwise committed Apr 24, 2024
1 parent ec09b1d commit 7d1052d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@

try:
import torch
import torchvision
import spandrel

torch_version = True
Expand Down
3 changes: 2 additions & 1 deletion src/getModels/select_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ def handleCUDAModels(model: str = ""):

try:
import torch

import torchvision
import spandrel
torch_version = True

except Exception as e:
Expand Down
1 change: 1 addition & 0 deletions src/misc/onProgramStart.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
gmfss = False
try:
import torch
import torchvision
import spandrel

torch_version = True
Expand Down

0 comments on commit 7d1052d

Please sign in to comment.