Skip to content

When are my models loaded ? #161

Answered by vladmandic
uzair004 asked this question in Q&A
Discussion options

You must be logged in to vote

models are always loaded only once for the entire lifespan of the human object
only way that models get loaded again and again is if you're creating human object again and again
(e.g., const human = new Human();)

few more notes:

  • models can be loaded explicitly with await human.load() or they will be loaded automatically during first usage
  • only models enabled in configuration get loaded, human does not load everything by default

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@uzair004
Comment options

Answer selected by vladmandic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants