Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
NormanTUD committed Dec 18, 2024
1 parent 6cee7ad commit ca12bf4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions data.js
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,7 @@ async function get_xs_and_ys () {
} else {
var maps = [];
if($("#auto_augment").is(":checked")) {
l(language[lang][""]);
l(language[lang]["auto_augmentation_currently_not_supported_for_segmentation"]);
}

for (var label_nr = 0; label_nr < category_counter; label_nr++) {
Expand Down Expand Up @@ -1318,7 +1318,7 @@ async function get_x_y_from_csv () {
}
} else {
if($("#auto_one_hot_y").is(":checked")) {
l(language[lang][""]);
l(language[lang]["currently_there_is_a_bug_for_one_hot_encoding_with_only_one_vector_so_its_disabled"]);
$("#auto_one_hot_y").prop("checked", false);
}
}
Expand Down
2 changes: 1 addition & 1 deletion gui.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ async function set_labels (arr, force_allow_empty=0) {
}

if(!Object.keys(model).includes("layers") || !model.layers.length) {
err(language[lang][""]);
err(language[lang]["model_layers_is_not_defined_or_empty"]);
return;
}

Expand Down
2 changes: 1 addition & 1 deletion predict.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ async function __predict (data, __model, recursion = 0) {
if(warn_if_tensor_is_disposed(data)) {
res = await __predict(data, model, recursion + 1);
} else {
err(language[lang][""]);
err(language[lang]["cannot_predict_since_the_data_about_to_be_predicted_is_already_disposed"]);
await dispose(data);
return;
}
Expand Down

0 comments on commit ca12bf4

Please sign in to comment.