mirror of
https://github.com/hzwer/ECCV2022-RIFE.git
synced 2026-09-01 19:50:47 +02:00
Update loss.py
This commit is contained in:
@@ -2,6 +2,7 @@ import torch
|
||||
import numpy as np
|
||||
import torch.nn as nn
|
||||
import torch.nn.functional as F
|
||||
import torchvision.models as models
|
||||
|
||||
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user