mirror of https://github.com/vladmandic/human
add critical error list
parent
e26b155506
commit
e0e2b9a2ac
19
Diag.md
19
Diag.md
|
@ -104,3 +104,22 @@ console.log(human.env)
|
|||
face: 390, emotion: 15, embedding: 97, body: 97, hand: 142, object: 312, gesture: 0
|
||||
}
|
||||
```
|
||||
|
||||
## All possible fatal errors
|
||||
|
||||
```text
|
||||
Error(`modelpath error: expecting json file: ${path}`);
|
||||
Error('input error: type is not recognized');
|
||||
Error('input error: cannot create tensor');
|
||||
Error('input error: cannot determine dimension');
|
||||
Error('input error: attempted to use tensor but it is disposed');
|
||||
Error('input error: attempted to use tensor without a shape');
|
||||
Error(`input error: attempted to use tensor with unrecognized shape: ${input['shape']}`);
|
||||
Error('canvas error: attempted to run in web worker but OffscreenCanvas is not supported');
|
||||
Error('canvas error: attempted to run in browser but DOM is not defined');
|
||||
Error('canvas error: attempted to use canvas in nodejs without canvas support installed');
|
||||
Error('canvas error: cannot create output');
|
||||
Error('backend error: attempting to use wasm backend but wasm path is not set');
|
||||
Error('backend error: webgl context lost');
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue