Spaces:
Sleeping
Sleeping
alrichardbollans
commited on
Commit
·
4e43bbf
1
Parent(s):
bd444d5
Add plotting requirements
Browse files
python_utils/get_model.py
CHANGED
|
@@ -23,8 +23,8 @@ def load_model():
|
|
| 23 |
else:
|
| 24 |
cfg.MODEL.DEVICE = 'cuda'
|
| 25 |
|
| 26 |
-
## when rerouting to use the final model (final_tz_segmentor) USE_FED_LOSS has to be set to
|
| 27 |
-
## this setting requires the training data to calculate class imbalance that the app will not have access to
|
| 28 |
## some messages will appear when using the model that certain weights are not being used
|
| 29 |
## but these are used during training and not inference and shouldn't affect the model performance
|
| 30 |
## code below
|
|
|
|
| 23 |
else:
|
| 24 |
cfg.MODEL.DEVICE = 'cuda'
|
| 25 |
|
| 26 |
+
## when rerouting to use the final model (final_tz_segmentor) USE_FED_LOSS has to be set to False
|
| 27 |
+
## this setting requires the training data to calculate class imbalance that the app will not have access to and cause a runtime error
|
| 28 |
## some messages will appear when using the model that certain weights are not being used
|
| 29 |
## but these are used during training and not inference and shouldn't affect the model performance
|
| 30 |
## code below
|