BeTomorrow / ReImproveJS

A framework using TensorFlow.js for Deep Reinforcement Learning
MIT License
123 stars 16 forks source link

npm out of date; dist missing from release; build not working. #19

Open TomSlezakowski opened 4 years ago

TomSlezakowski commented 4 years ago

Hi!

Great looking library! I have been able to produce some simple enough things using the 0.0.2 version of ReImproveJS, however a couple of issues that are preventing me from taking this any further;

NPM's latest version is 0.0.2, which doesn't have updated TS or TF and no helper for exporting the accumulated model.

0.2.5 release doesn't contain the compiled code, and when trying to build, I am met with the following error, meaning 0.2.5 is impossible for me to access.

node_modules/@tensorflow/tfjs-converter/dist/src/data/compiled_api.ts:20
export declare interface IAny {
^
ParseError: 'import' and 'export' may appear only with 'sourceType: module'

Any help would be appreciated.

Tom