Amould commited on
Commit
1c553d4
·
verified ·
1 Parent(s): 01b1eda

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -25,6 +25,10 @@ from torchvision.models import resnet18
25
 
26
  #device = torch.device("cuda") if torch.cuda.is_available() else torch.device("cpu")
27
  with_points = True
 
 
 
 
28
  file_savingfolder = './modelbest/'
29
  ext = '_bestVal'
30
  core_model_tst = resnet18(pretrained=True)
 
25
 
26
  #device = torch.device("cuda") if torch.cuda.is_available() else torch.device("cpu")
27
  with_points = True
28
+ dim = 128
29
+ dim0 =224
30
+ crop_ratio = dim/dim0
31
+
32
  file_savingfolder = './modelbest/'
33
  ext = '_bestVal'
34
  core_model_tst = resnet18(pretrained=True)