mirror of
https://github.com/hzwer/ECCV2022-RIFE.git
synced 2025-12-16 00:17:46 +01:00
Added Docker setup
This commit is contained in:
@@ -12,7 +12,7 @@ from model.RIFE import Model
|
||||
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
||||
|
||||
model = Model()
|
||||
model.load_model('./train_log')
|
||||
model.load_model(os.path.join(os.path.dirname(os.path.realpath(__file__)), 'train_log'))
|
||||
model.eval()
|
||||
model.device()
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ from model.RIFE import Model
|
||||
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
||||
|
||||
model = Model()
|
||||
model.load_model('./train_log')
|
||||
model.load_model(os.path.join(os.path.dirname(os.path.realpath(__file__)), 'train_log'))
|
||||
model.eval()
|
||||
model.device()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user