Skip to content

Commit

Permalink
fix(tfjsService): fix a error which increment the counter twice
Browse files Browse the repository at this point in the history
  • Loading branch information
Lutra-Fs committed Jan 16, 2024
1 parent 287577c commit 8100400
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/services/model/TfjsService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ export class TfjsService implements ModelService {
if (this.isPaused) {
return;
}
this.curFrameCountbyLastSecond += 1;
const input = this.getInput();
const energy = this.velocity.square().sum();
// const output = this.model?.predict(input);
Expand Down

0 comments on commit 8100400

Please sign in to comment.