FjordWarden
FjordWarden4mo ago

Import PyTorchJS

I wanted to try pytorch with js but I am running into some problems importing the NPM package. Maybe someone here know more.
> import * as pytorch from 'npm:pytorchjs'
Initialize ⣯ [00:02]
- pytorchjs@0.1.5


Warning npmlog@4.1.2 is deprecated: This package is no longer supported.
Warning npmlog@1.2.1 is deprecated: This package is no longer supported.
Warning are-we-there-yet@1.1.7 is deprecated: This package is no longer supported.
Warning gauge@2.7.4 is deprecated: This package is no longer supported.
Warning are-we-there-yet@1.0.6 is deprecated: This package is no longer supported.
Warning fstream@1.0.12 is deprecated: This package is no longer supported.
Initialize ⣟ [00:02] 216/220cated: This package is no longer supported.
- lcid@1.0.0
- is-fullwidth-code-point@1.0.0: Glob versions prior to v9 are no longer supported
- string_decoder@1.3.0.0 is deprecated:
Uncaught Error: Could not locate the bindings file. Tried:
→ /Users/me/Code/node_modules/.deno/@arition+torch-js@0.14.0/node_modules/@arition/torch-js/build/torch-js.node
> import * as pytorch from 'npm:pytorchjs'
Initialize ⣯ [00:02]
- pytorchjs@0.1.5


Warning npmlog@4.1.2 is deprecated: This package is no longer supported.
Warning npmlog@1.2.1 is deprecated: This package is no longer supported.
Warning are-we-there-yet@1.1.7 is deprecated: This package is no longer supported.
Warning gauge@2.7.4 is deprecated: This package is no longer supported.
Warning are-we-there-yet@1.0.6 is deprecated: This package is no longer supported.
Warning fstream@1.0.12 is deprecated: This package is no longer supported.
Initialize ⣟ [00:02] 216/220cated: This package is no longer supported.
- lcid@1.0.0
- is-fullwidth-code-point@1.0.0: Glob versions prior to v9 are no longer supported
- string_decoder@1.3.0.0 is deprecated:
Uncaught Error: Could not locate the bindings file. Tried:
→ /Users/me/Code/node_modules/.deno/@arition+torch-js@0.14.0/node_modules/@arition/torch-js/build/torch-js.node
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?