Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to change a default network structure? #81

Open
lucalazzaroni opened this issue May 31, 2022 · 2 comments
Open

How to change a default network structure? #81

lucalazzaroni opened this issue May 31, 2022 · 2 comments

Comments

@lucalazzaroni
Copy link

Hi, I am currently working with this configuration, where you use different kinds of layers. How can I change the structure? Is it possible directly from your JSON file or should I put hands into the code?
For example, I wonder if It would be possible to add more dense layers in output or additional attention layers.
Thank you in advance for your response :)

@KexianShen
Copy link
Contributor

take the output layers for example,

        "output_layer": {
            "type": "MultiLayerPerceptron",
            "layers": [64, 64, 64], // just add numbers here
            "reshape": false
        }

@eleurent
Copy link
Owner

Sorry the late reply, and thanks @KexianShen for jumping in :)

For more details, you can look at this function and subsequent classes to see how the config is parsed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants