nervanasystems / neon_course Goto Github PK
View Code? Open in Web Editor NEWneon tutorials
License: Apache License 2.0
neon tutorials
License: Apache License 2.0
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?
Hello,
I'm working through this tutorial and am running into an error asking for the etl property in the config variable, I was getting a batch_size missing error but I changed minibatch to batch to get rid of that:
config = {
'manifest_filename': 'data/cifar10/train-index.csv', # CSV manifest of data
'manifest_root': 'data/cifar10', # root data directory
'image': {'height': 224, 'width': 224, # output image size
'scale': [0.875, 0.875], # random scaling of image before cropping
'flip_enable': True}, # randomly flip image
'type': 'image,label', # type of data
'minibatch_size': be.bsz # batch size
}
When I run this code the config object is missing an etl property, I looked in the source code of aeon but the example I used is still throwing an error.
train_set = AeonDataLoader(config, be)
Any clarification about how to structure the etl property?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.