BrainJS / BrainJS/brain.js

When saving json model. Just save the first hidden layer

Open
#823 0 comments 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?

I save my models in json files. If the first hidden layer is bigger, the json file gets bigger.
BUT, no matter how big are the second, third, etc layer. Json file size is proportional to the first hidden layer.

## _Where_ does it happen
It happens when saving the json file after training the network

## Expected behavior (i.e. solution)

Shouldn't the json model size be proportional to all layers?

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.