From c7b1320bd15c0183c3e9b5fe8f9eec257a52acd8 Mon Sep 17 00:00:00 2001 From: uzlider Date: Wed, 22 Dec 2021 12:42:39 +0700 Subject: [PATCH] Update punk_generator.js 8 const desiredCount = 1000; 210 id: 1000, --- scripts/punk_generator.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/punk_generator.js b/scripts/punk_generator.js index 49225672..b6cf988a 100644 --- a/scripts/punk_generator.js +++ b/scripts/punk_generator.js @@ -5,7 +5,7 @@ const outputFolder = "./generated_faces"; const outputCharacterJSON = "./generated_faces/characters.json"; const outputAttributesJS = "./generated_faces/attributes.json"; -const desiredCount = 10000; +const desiredCount = 1000; const totalFaces = 89820; // const ext = ".png"; @@ -207,7 +207,7 @@ async function generateManually() { let punks = require("./generated_faces/characters.json"); c = { - id: 10000, + id: 1000, gender: "Male", attributes: [3,7,13,21,29] }; @@ -226,4 +226,4 @@ main(); // code = [1, 6, 2, 4, 4, 1, 8, 1]; // console.log(detectGender(code)); // } -// test(); \ No newline at end of file +// test();