Skip to content
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

TensorFrames Quick Start notebook failing with 'maximum recursion depth exceeded' #2

Open
kartha01 opened this issue May 14, 2017 · 0 comments

Comments

@kartha01
Copy link

Hi Denny,

(Sorry for the re-post)

I am trying the TensorFrames Quick Start.ipynb and am running into some issues. Already have TensorFlow on the system:


!pip show tensorflow  

Name: tensorflow
Version: 0.9.0
Summary: TensorFlow helps the tensors flow
...

In addition, have added the following jars to be picked up by the kernel:

tensorframes-0.2.8-s_2.11.jar
scala-logging-slf4j_2.11-2.1.2.jar
scala-logging-api_2.11-2.1.2.jar

But the following section fails with "RuntimeError: maximum recursion depth exceeded in cmp":

with tf.Graph().as_default() as g:
    # The TensorFlow placeholder that corresponds to column 'x'.
    # The shape of the placeholder is automatically inferred from the DataFrame.
    x = tfs.block(df, "x")
    
    # The output that adds y to x
    z = tf.add(x, 3, name='z')
    
    # The resulting dataframe
    df2 = tfs.map_blocks(z, df)

# Note that `z` is the tensor output from the `tf.add` operation
print z

I tried setting the recursion limit to 10000, but it still fails, so not sure what I may be missing. Any thoughts to resolve this is greatly appreciated!

Thanks,
Rajesh

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

No branches or pull requests

1 participant