tensorflow / skflow

Simplified interface for TensorFlow (mimicking Scikit Learn) for Deep Learning
Apache License 2.0
3.18k stars 439 forks source link

Text Classification Examples Giving Error #112

Closed newterminator closed 8 years ago

newterminator commented 8 years ago

I downloaded both the Text Classification Using Recurrent Neural Networks on Words example and the Simplified Version Using Built-in RNN Model with easy to use built-in parameters example, and tried running both to see the output and then learn how to use skflow from the code in the examples.

Python Version: 2.7.11 Tensorflow version: 0.7.1 Scikit-learn version: 0.17.1

I got the following error from running both the files separately: NotImplementedError: Negative indices are currently unsupported

I attached a quick pic showing the details of the error:

skflow

ilblackdragon commented 8 years ago

The #119 PR is addressing this - the changes in 0.7.1 changed the rnn API in a bit (IMO) weird way.

ilblackdragon commented 8 years ago

Should be fixed after merge, please let me know!

newterminator commented 8 years ago

@ilblackdragon , I confirm it is fixed now. Thanks !