Skip to content

Commit

Permalink
Remove accidental duplication of saveCsv function
Browse files Browse the repository at this point in the history
  • Loading branch information
digitaldogsbody authored Jun 18, 2022
1 parent 70a22f1 commit 4c87114
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions similarity/tsne.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,6 @@ const saveCsv = async (data, filename) => {
fs.writeFileSync(filename, csv);
}

const saveCsv = async (data, filename) => {
const csv = d3.csvFormat(data)
fs.writeFileSync(filename, csv);
}

async function run() {
// todo load via tf
// const MOBILENET_MODEL_PATH ='https://storage.googleapis.com/tfjs-models/tfjs/mobilenet_v1_0.25_224/model.json';
Expand Down

0 comments on commit 4c87114

Please sign in to comment.