mterris commited on
Commit
e0e7789
·
1 Parent(s): 9368b8d
Files changed (1) hide show
  1. models/ram.py +1 -1
models/ram.py CHANGED
@@ -10,7 +10,7 @@ from deepinv.utils.tensorlist import TensorList
10
  from huggingface_hub import hf_hub_download
11
 
12
  device = 'cuda' if torch.cuda.is_available() else 'cpu'
13
- Tensor = torch.cuda.FloatTensor if cuda else torch.FloatTensor
14
 
15
  class RAM(nn.Module):
16
  r"""
 
10
  from huggingface_hub import hf_hub_download
11
 
12
  device = 'cuda' if torch.cuda.is_available() else 'cpu'
13
+ Tensor = torch.cuda.FloatTensor if torch.cuda.is_available() else torch.FloatTensor
14
 
15
  class RAM(nn.Module):
16
  r"""