googlecreativelab / teachable-machine-boilerplate

Boilerplate code for Teachable Machine
https://googlecreativelab.github.io/teachable-machine-boilerplate/
Apache License 2.0
505 stars 160 forks source link

[Violation] 'requestAnimationFrame' handler took 218ms #3

Closed nadendlaprasad closed 6 years ago

nadendlaprasad commented 6 years ago

When i'm running the model, program is throwing these warning [Violation] 'requestAnimationFrame' handler took 218ms messages. This is happening even when i run the model on GPU machine. Any idea how to improve the performance or what's causing the model to run slowly ? I can observe too much delay sometimes. I am thinking this warning message may be causing the model to run slowly. am i right ?

HalfdanJ commented 6 years ago

Hmm, I think it might be worth posting on github.com/PAIR-code/deeplearnjs as that is where the model lives.

I have sometimes noticed that my browser crashes the webgl context, and I need to reboot my machine to fix it.

nadendlaprasad commented 6 years ago

Thanks for the reply. sure, i'll post this on https://github.com/PAIR-code/deeplearnjs/