Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
NormanTUD committed Oct 23, 2023
1 parent e44d1d5 commit a23c9a8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
2 changes: 2 additions & 0 deletions data.js
Original file line number Diff line number Diff line change
Expand Up @@ -784,6 +784,8 @@ async function get_xs_and_ys () {
$("#reset_data").hide();
}

log(language[lang]["got_data_creating_tensors"]);

if(
["categoricalCrossentropy", "binaryCrossentropy"].includes(loss) &&
!traindata_struct[$("#dataset option:selected").text()]["has_custom_data"] &&
Expand Down
1 change: 0 additions & 1 deletion train.js
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,6 @@ async function _get_xs_and_ys (recursive=0) {
l("Getting data...");
xs_and_ys = await get_xs_and_ys();
await show_tab_label("training_tab_label", jump_to_interesting_tab());
l(language[lang]["got_data"]);
} catch (e) {
if(Object.keys(e).includes("message")) {
e = e.message;
Expand Down
10 changes: 6 additions & 4 deletions translations.php
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@
"loaded_configuration" => "Loaded configuration",
"model_is_not_defined" => "Model is not defined",
"model_is_ok" => "Model is OK",
"got_data" => "Got data",
"got_data" => "Got data, tensors created",
"site_is_ready" => "Site is ready",
"trying_to_set_backend" => "Trying to set backend",
"backend_set" => "Backend set",
Expand Down Expand Up @@ -299,7 +299,8 @@
"initializing_categories" => "Initializing categories",
"initializing_tabs" => "Initialisiere Tabs",
"initializing_page_contents" => "Initializing page contents",
"initializing_set_options_for_all" => "Initializing 'set options for all'"
"initializing_set_options_for_all" => "Initializing 'set options for all'",
"got_data_creating_tensors" => "Got data, creating tensors..."
),

'de' => array(
Expand Down Expand Up @@ -555,7 +556,7 @@
"loaded_configuration" => "Konfiguration geladen",
"model_is_not_defined" => "Modell ist nicht definiert",
"model_is_ok" => "Modell ist OK",
"got_data" => "Daten geholt",
"got_data" => "Daten geholt, Tensoren erstellt",
"site_is_ready" => "Seite fertig geladen",
"trying_to_set_backend" => "Versuche, das Backend zu setzen",
"backend_set" => "Backend gesetzt",
Expand Down Expand Up @@ -601,7 +602,8 @@
"initializing_categories" => "Kategorien werden initialisiert",
"initializing_tabs" => "Initialisiere Tabs",
"initializing_page_contents" => "Initialisiere Seiteninhalte",
"initializing_set_options_for_all" => "Initialisiere 'Setze Optionen für alle Layer'"
"initializing_set_options_for_all" => "Initialisiere 'Setze Optionen für alle Layer'",
"got_data_creating_tensors" => "Daten geholt, erstelle Tensoren..."
)
);

Expand Down

0 comments on commit a23c9a8

Please sign in to comment.