Git Product home page Git Product logo

in-browser-ml-react-ml5js's Introduction

Hi there 👋

in-browser-ml-react-ml5js's People

Contributors

julienrioux avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

in-browser-ml-react-ml5js's Issues

react ml5j issues!! help

While i try to run my code,this error is arising
i think this error arising when the yolo.detect() is called

ml5.min.js:13902 Uncaught (in promise) RangeError: byte length of Float32Array should be a multiple of 4
at new Float32Array ()
at i (ml5.min.js:13902)
at Object.oc [as decodeWeights] (ml5.min.js:13915)
at ml5.min.js:20090
at ml5.min.js:15668
at Object.next (ml5.min.js:15680)
at o (ml5.min.js:15569)

ReferenceError: window is not defined

I'm having the issue when trying to test (yarn start).

ReferenceError: window is not defined
at Object.window (/Users/ekaaditia/website/HarmonyPXMBox/www/harmony-frontend/node_modules/ml5/dist/webpack:/ml5/webpack/universalModuleDefinition:10:2)
    at Module._compile (internal/modules/cjs/loader.js:689:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
    at Module.load (internal/modules/cjs/loader.js:599:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
    at Function.Module._load (internal/modules/cjs/loader.js:530:3)
    at Module.require (internal/modules/cjs/loader.js:637:17)
    at require (internal/modules/cjs/helpers.js:22:18)
    at Object.ml5 (/Users/ekaaditia/website/HarmonyPXMBox/www/harmony-frontend/external "ml5":1:1)
    at __webpack_require__ (/Users/ekaaditia/website/HarmonyPXMBox/www/harmony-frontend/build/webpack:/webpack/bootstrap:682:1)

the browser chrome, I'm using razzle Thank you

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.