Skip to content

Commit 55cf4de

Browse files
authored
Merge pull request #296 from leondavi/nerlplanner
fix nerlplanner
2 parents e6122d6 + aa0952d commit 55cf4de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src_py/nerlPlanner/WinWorkerDialog.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ def ui_update_all_values(WorkerWindow):
202202
if DistributedSystemType == "none":
203203
DistributedSystemToken = "none"
204204
# Update here when adding new fields to the worker
205-
worker_parameters_conditions = bool(LayersSizesList) and bool(ModelTypeStr) and (ModelType >= 0) and\
205+
worker_parameters_conditions = bool(LayersSizesList) and bool(ModelTypeStr) and (int(ModelType) >= 0) and\
206206
bool(OptimizationType) and bool(LossMethodStr) and bool(LossMethod) and\
207207
bool(LearningRate) and bool(LayersFunctionsList) and bool(LayersSizesList) and bool(Epochs) and bool(InfraType) and\
208208
bool(DistributedSystemType) and bool(DistributedSystemToken)

0 commit comments

Comments
 (0)