Spaces:
Sleeping
Sleeping
Commit ·
cadf3a7
1
Parent(s): 031b4b5
feat: remove windows specific changes
Browse files
app.py
CHANGED
|
@@ -13,9 +13,11 @@ def get_data():
|
|
| 13 |
|
| 14 |
if __name__ == '__main__':
|
| 15 |
# This is required for windows users
|
| 16 |
-
multiprocessing.set_start_method('spawn')
|
| 17 |
dls = get_data()
|
| 18 |
|
|
|
|
|
|
|
| 19 |
# Train the model with vision_learner
|
| 20 |
# learn = vision_learner(dls, resnet34, metrics=error_rate)
|
| 21 |
# learn.fine_tune(1)
|
|
|
|
| 13 |
|
| 14 |
if __name__ == '__main__':
|
| 15 |
# This is required for windows users
|
| 16 |
+
# multiprocessing.set_start_method('spawn')
|
| 17 |
dls = get_data()
|
| 18 |
|
| 19 |
+
# Since the model is already trained, I have commented out the code to train it
|
| 20 |
+
|
| 21 |
# Train the model with vision_learner
|
| 22 |
# learn = vision_learner(dls, resnet34, metrics=error_rate)
|
| 23 |
# learn.fine_tune(1)
|