jamino30 commited on
Commit
880c0d9
·
verified ·
1 Parent(s): ec7b4ee

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -16,6 +16,8 @@ else: device = 'cpu'
16
  print('DEVICE:', device)
17
  if device == 'cuda': print('CUDA DEVICE:', torch.cuda.get_device_name())
18
 
 
 
19
  model = VGG_19().to(device).eval()
20
  for param in model.parameters():
21
  param.requires_grad = False
 
16
  print('DEVICE:', device)
17
  if device == 'cuda': print('CUDA DEVICE:', torch.cuda.get_device_name())
18
 
19
+ torch.backends.cuda.matmul.allow_tf32 = False
20
+
21
  model = VGG_19().to(device).eval()
22
  for param in model.parameters():
23
  param.requires_grad = False