BrainJS / BrainJS/brain.js

"Uncaught Error: network not runnable"

Open
#798 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
14.9k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

## _What_ is wrong?

net.run doesn't work, it just sends an error to the console.

## _Where_ does it happen?

it says it is inside of the brain.js code in the run function

## _How_ do we replicate the issue?

I'm not sure how to replicate it, but it should be an all-around issue

## Expected behavior (i.e. solution)

it should run the network, but it doesn't.

## Version information

### Browser: Chrome 101

### Brain.js: 2.0.0-beta (latest i think)

## _How_ important is this (1-5)?

4

## Other Comments

Code where the error occurs

```
function getGuess() {
return Math.round(net.run(question)[0])
}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.