Skip to content

Commit 873d9b6

Browse files
author
Songki Choi
committed
Remove temp hot key values (#1916)
Signed-off-by: Songki Choi <[email protected]>
1 parent cd05fc1 commit 873d9b6

File tree

4 files changed

+0
-11
lines changed

4 files changed

+0
-11
lines changed

otx/algorithms/classification/tasks/train.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,6 @@ def _init_train_data_cfg(self, dataset: DatasetEntity):
162162
labels=self._labels,
163163
)
164164

165-
for label in self._labels:
166-
label.hotkey = "a"
167165
return data_cfg
168166

169167
def _generate_training_metrics_group(self, learning_curves):

otx/algorithms/common/tasks/nncf_base.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,6 @@ def _init_train_data_cfg(self, dataset: DatasetEntity):
132132
labels=self._labels,
133133
)
134134

135-
# Temparory remedy for cfg.pretty_text error
136-
for label in self._labels:
137-
label.hotkey = "a"
138135
return data_cfg
139136

140137
def _init_nncf_cfg(self):

otx/algorithms/detection/tasks/train.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -217,9 +217,6 @@ def _init_train_data_cfg(self, dataset: DatasetEntity):
217217
labels=self._labels,
218218
)
219219

220-
# Temparory remedy for cfg.pretty_text error
221-
for label in self._labels:
222-
label.hotkey = "a"
223220
return data_cfg
224221

225222
@staticmethod

otx/algorithms/segmentation/tasks/train.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,9 +169,6 @@ def _init_train_data_cfg(self, dataset: DatasetEntity):
169169
labels=self._labels,
170170
)
171171

172-
# Temparory remedy for cfg.pretty_text error
173-
for label in self._labels:
174-
label.hotkey = "a"
175172
return data_cfg
176173

177174
def _generate_training_metrics_group(self, learning_curves):

0 commit comments

Comments
 (0)