Skip to content

Commit

Permalink
Bumped tensorflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Mattk70 committed Dec 15, 2023
1 parent 1478872 commit 696c9d9
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ <h5>Saved Records</h5>
<span class="material-symbols-outlined">unarchive</span> Remove Current File From
Archive
</li>
<li class="dropdown-item d-none" id="dataset">
<li class="dropdown-item" id="dataset">
<span class="material-symbols-outlined">dataset</span> Create Dataset
</li>
</ul>
Expand Down
2 changes: 1 addition & 1 deletion js/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const STATE = {
}

// Batch size map for slider
const BATCH_SIZE_LIST = [1, 2, 4, 8, 16, 32, 36, 48, 64, 128];
const BATCH_SIZE_LIST = [1, 2, 4, 8, 12, 16, 32, 36, 48, 64, 128];

// Get the modules loaded in preload.js
const fs = window.module.fs;
Expand Down
10 changes: 5 additions & 5 deletions js/worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ let SEEN_LIST_UPDATE = false // Prevents list updates from every worker on ever

const DEBUG = true;

const DATASET = false;
const DATASET = true;
const adding_chirpity_additions = true;
const dataset_database = DATASET;

Expand Down Expand Up @@ -541,7 +541,7 @@ const prepResultsStatement = (species, noLimit) => {
records.end,
records.callCount,
records.isDaylight,
RANK() OVER (PARTITION BY records.dateTime, records.fileID ORDER BY records.confidence DESC) AS confidence_rank
RANK() OVER (PARTITION BY records.dateTime ORDER BY records.confidence DESC) AS rank
FROM records
JOIN species ON records.speciesID = species.id
JOIN files ON records.fileID = files.id
Expand Down Expand Up @@ -589,10 +589,10 @@ const prepResultsStatement = (species, noLimit) => {
comment,
end,
callCount,
confidence_rank
rankvb
FROM
ranked_records
WHERE confidence_rank <= ? `;
WHERE ranked_records.rank <= ? `;

STATE.GET_RESULT_SQL = STATE.db.prepare(resultStatement);
}
Expand Down Expand Up @@ -1348,7 +1348,7 @@ const convertSpecsFromExistingSpecs = async (path) => {
}

const saveResults2DataSet = ({species}) => {
const rootDirectory = 'C:/Users/simpo/PycharmProjects/Data/Test Dataset';
const rootDirectory = '/media/matt/36A5CC3B5FA245852/additions';
const height = 256, width = 384;
let t0 = Date.now()
let promise = Promise.resolve();
Expand Down
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const { app, dialog, ipcMain, MessageChannelMain, BrowserWindow, globalShortcut } = require('electron');
const { autoUpdater } = require("electron-updater")
const log = require('electron-log');
//app.commandLine.appendSwitch('js-flags', '--max-old-space-size=4096');

const fs = require("fs");
const path = require('path');
const settings = require('electron-settings');
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
"description": "Chirpity Nocmig",
"main": "main.js",
"scripts": {
"start": "electron .",
"start": "electron .",
"minify": "node minify.js",
"export": "electron-builder build -w --x64",
"publish": "electron-builder --win -p always"
"publish": "electron-builder --win --x64 -p always"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -185,7 +185,7 @@
"@easepick/bundle": "^1.2.1",
"@fast-csv/format": "^4.3.5",
"@popperjs/core": "^2.9.2",
"@tensorflow/tfjs-node": "^4.12.0",
"@tensorflow/tfjs-node": "^4.14.0",
"bootstrap": "5.2.2",
"browser-id3-writer": "^4.4.0",
"chart.js": "^4.4.0",
Expand Down
2 changes: 1 addition & 1 deletion v4_model_config.json

Large diffs are not rendered by default.

0 comments on commit 696c9d9

Please sign in to comment.