Update transformation.py
This commit is contained in:
parent
382a9b50f3
commit
78d7ed96a9
|
@ -4,6 +4,7 @@ import torch.nn as nn
|
||||||
import torch.nn.functional as F
|
import torch.nn.functional as F
|
||||||
device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
|
device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
|
||||||
|
|
||||||
|
|
||||||
class TPS_SpatialTransformerNetwork(nn.Module):
|
class TPS_SpatialTransformerNetwork(nn.Module):
|
||||||
""" Rectification Network of RARE, namely TPS based STN """
|
""" Rectification Network of RARE, namely TPS based STN """
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue