Oblix commited on
Commit
209a3e5
1 Parent(s): f58ee24

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -41,7 +41,7 @@ const permuted = output.output0[0].transpose(1, 0);
41
 
42
  // Example code to format it nicely:
43
  const result = [];
44
- const threshold = 0.5;
45
  const [scaledHeight, scaledWidth] = pixel_values.dims.slice(-2);
46
  for (const [xc, yc, w, h, ...scores] of permuted.tolist()) {
47
 
 
41
 
42
  // Example code to format it nicely:
43
  const result = [];
44
+ const threshold = 0.5; // Adjust the threshold as needed
45
  const [scaledHeight, scaledWidth] = pixel_values.dims.slice(-2);
46
  for (const [xc, yc, w, h, ...scores] of permuted.tolist()) {
47