lisa-groundhog / GroundHog

Library for implementing RNNs with Theano
BSD 3-Clause "New" or "Revised" License
598 stars 229 forks source link

theano error #49

Closed shawnkx closed 8 years ago

shawnkx commented 8 years ago

when I run python sample.py --source finaltest.txt --state search_state.pkl search_model.npz --trans out.txt --beam-search, there is a error like: theano.compile.function_module.UnusedInputError: theano.function was asked to create a function computing outputs given certain inputs, but the provided input variable at index 1 is not part of the computational graph needed to compute the outputs: step_num. To make this error into a warning, you can pass the parameter on_unused_input='warn' to theano.function. To disable it completely, use on_unused_input='ignore'. Could someone give any suggestions? Thanks!