Update RIFE.py

This commit is contained in:
hzwer 2022-11-16 11:59:13 +08:00 committed by GitHub
parent 1cc683d8e2
commit d430234d81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ from model.loss import *
from model.laplacian import *
from model.refine import *
device = torch.device("cuda")
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
class Model:
def __init__(self, local_rank=-1, arbitrary=False):