mirror of
https://github.com/hzwer/ECCV2022-RIFE.git
synced 2025-12-16 16:37:51 +01:00
Update RIFE.py
This commit is contained in:
@@ -13,7 +13,7 @@ from model.loss import *
|
|||||||
from model.laplacian import *
|
from model.laplacian import *
|
||||||
from model.refine import *
|
from model.refine import *
|
||||||
|
|
||||||
device = torch.device("cuda")
|
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
||||||
|
|
||||||
class Model:
|
class Model:
|
||||||
def __init__(self, local_rank=-1, arbitrary=False):
|
def __init__(self, local_rank=-1, arbitrary=False):
|
||||||
|
|||||||
Reference in New Issue
Block a user