Andreas-w commited on
Commit
62cbf53
·
1 Parent(s): 74506e3

Update metode.py

Browse files
Files changed (1) hide show
  1. metode.py +2 -2
metode.py CHANGED
@@ -17,9 +17,9 @@ def load_model(model_path):
17
  # Define the Learner object
18
  learn = Learner(dls, model, metrics=accuracy)
19
 
20
- return learn
21
 
22
  # Load the model from the .pth file and create the necessary objects
23
- learn = load_model('my_model.pth')
24
 
25
  # Use the model for inference or further training
 
17
  # Define the Learner object
18
  learn = Learner(dls, model, metrics=accuracy)
19
 
20
+ return learn
21
 
22
  # Load the model from the .pth file and create the necessary objects
23
+ #learn = load_model('my_model.pth')
24
 
25
  # Use the model for inference or further training