Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

get_outputs() with model architecture: with brach #7

Open
shresthamalik opened this issue May 9, 2017 · 0 comments
Open

get_outputs() with model architecture: with brach #7

shresthamalik opened this issue May 9, 2017 · 0 comments

Comments

@shresthamalik
Copy link

shresthamalik commented May 9, 2017

Hi,

I was trying to implement and test a model based on the branch tutorial (05 Defining complex branching models. When simple sequential lists of layers do not suffice for your complex models, we present how to build complex branching models within neon. Link )

After fitting the model, how can we get the outputs of the final layer. I implemented a model with two branches (single branch node) . I get an error in model.get_outputs(). I looked at the source code, the variable x in my code is a list, and it fails at this line (dim0, dim1) = x.shape , with the error 'list' object has no attribute shape.

Is there a way to get_outputs() for a branch model?

P.S. i also saw this assert statement : assert not isinstance(x, list), "Can not get_outputs with Branch terminal" , does this mean that we cannot use get_outputs() for a branch model?

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

No branches or pull requests

1 participant