x1ongzhu 7 gadi atpakaļ
vecāks
revīzija
6ac9034d5c
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      index.js

+ 2 - 2
index.js

@@ -25,11 +25,11 @@ const genGtData = (str) => {
             compression: 'lzw',
             squash: true
         })
-        .toFile(`/Users/drew/Projects/ocrd-train/data/ground-truth/${count}.tif`)
+        .toFile(`./data/ground-truth/${count}.tif`)
         .then(res => {
             console.log(res)
         })
-    fs.writeFileSync(`/Users/drew/Projects/ocrd-train/data/ground-truth/${count}.gt.txt`, str + '\n');
+    fs.writeFileSync(`./data/ground-truth/${count}.gt.txt`, str + '\n');
     count++
 }