-
Notifications
You must be signed in to change notification settings - Fork 120
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
Global name 'hidden_inputs' is not defined #4
Comments
I suspect it may be 'hidden_activations' or just the 'input_data'. |
Can you post the script you were trying to run? |
Following the documentation at this website http://hebel.readthedocs.org/en/latest/getting_started.html I run the following code lines, and error occurs at optimizer.run(100) import pycuda.autoinit Initialize data providerstrain_data = MNISTDataProvider('train', batch_size=100) D = train_data.D # Dimensionality of inputs Create model objectmodel = NeuralNet(n_in=train_data.D, n_out=K, Create optimizer objectprogress_monitor = ProgressMonitor( optimizer = SGD(model, MomentumUpdate, train_data, validation_data, Run modeloptimizer.run(100) Evaulate error on test settest_error = 0 |
When running optimizer.run(100), an error occurred: global name 'hidden_inputs' is not defined in line 323 of ./hebel/hebel/models/neurals_net.py
Where to define the global variable 'hidden_inputs'? Thanks!
The text was updated successfully, but these errors were encountered: