#3 gna
run_process je zavolana metoda z triedy Learning. Potrebujem spustit ucenie v inom vlakne alebo inom procese, pretoze mi zatazuje GUI.
learning = Learning(
dataset_path=str(self.__le_dataset_path.text()),
model_path=str(self.__le_model_path.text()),
kernel=int(self.__lcd_kernel.value()),
img_size=int(self.__lcd_img_size.value()),
color_channel=int(self.__lcd_color_channel.value()),
pooling=int(self.__lcd_pooling.value()),
classes=int(self.__lcd_classes.value()),
batch_size=int(self.__lcd_batch_size.value()),
epochs=int(self.__lcd_epochs.value()),
y_activation=str(self.__cmb_y_activation.currentText()),
loss=str(self.__cmb_loss.currentText()),
optimizer=str(self.__cmb_optimizer.currentText()),
color_mode=str(self.__cmb_color_mode.currentText()),
class_mode=str(self.__cmb_class_mode.currentText())
)
process = QProcess()
process.start(learning.run_process())
process.startDetached()