raja5259 commited on
Commit
8af2a3e
·
verified ·
1 Parent(s): 884d0e2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -6
app.py CHANGED
@@ -35,12 +35,7 @@ from torchvision import datasets, transforms, utils
35
 
36
  save1_or_load0 = False
37
 
38
- if not os.path.exists("/content"):
39
- os.makedirs("/content") # This path will be used for saving the weights file after training
40
-
41
- wt_fname = "/content/weights.ckpt" # weights file name to load
42
-
43
- model, trainer = ts_lt(save1_or_load0, Epochs = 26, wt_fname = "/content/weights.ckpt") # Train and Save Vs Load and Test
44
  '''
45
  ts_lt(save1_or_load0, # decision maker for training Vs testing
46
  Epochs = 1, # argument for training
 
35
 
36
  save1_or_load0 = False
37
 
38
+ model, trainer = ts_lt(save1_or_load0, Epochs = 26, wt_fname = "weights.ckpt") # Train and Save Vs Load and Test
 
 
 
 
 
39
  '''
40
  ts_lt(save1_or_load0, # decision maker for training Vs testing
41
  Epochs = 1, # argument for training