Reorg benchmark

This commit is contained in:
hzwer
2020-11-26 18:39:18 +08:00
parent 344d8100c0
commit d3f99506b1
2 changed files with 2 additions and 1 deletions

View File

@@ -1,4 +1,6 @@
import os import os
import sys
sys.path.append('.')
import cv2 import cv2
import math import math
import torch import torch
@@ -7,7 +9,6 @@ import numpy as np
from torch.nn import functional as F from torch.nn import functional as F
from pytorch_msssim import ssim_matlab from pytorch_msssim import ssim_matlab
from model.RIFE import Model from model.RIFE import Model
device = torch.device("cuda" if torch.cuda.is_available() else "cpu") device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
model = Model() model = Model()