top of page
Writer's pictureJorge Guerra Pires

TensorFlow.js does now work in Angular: what is next?


You just found out that TensorFLow.js is a powerful way to build machine learning in JavaScript, and get away from the annoying Python devs 😂

Then:


Wep, that is what is waiting for you when using TensorFlow.js in Angular. JavaScript devs are not concerned about the cool guys 😎


In fact, notwithstanding not being optimal, we have a work around:


Just open tsconfig.json



"compilerOptions": {
     .....
    "skipLibCheck": true
  },



"Another possibility is when you are migrating between TypeScript releases and the changes cause breakages in node_modules and the JS standard libraries which you do not want to deal with during the TypeScript update." documentation

No sure this is the best solution, but I have been using TensorFlow.js successfully since this trick. Should you know a best solution, please, do not hesitate to comment on this post!



13 views0 comments

Comments


bottom of page