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

from __future__ import division gives error in word2vec_basic when dividing tensors.Just comment out "from __future__...." #229

Closed
arieltci opened this issue Nov 15, 2015 · 7 comments
Assignees

Comments

@arieltci
Copy link

No description provided.

@girving
Copy link
Contributor

girving commented Nov 15, 2015

Are you running a version of the tutorials from HEAD against tensorflow installed via pip or similar? We just added __truediv__ support as part of #1.

@arieltci
Copy link
Author

Was running python 2.7......

@girving
Copy link
Contributor

girving commented Nov 15, 2015

Yep, you're running 2.7, but how did you install tensorflow and where did you get the tutorial? I think you might be running a newer version of the tutorial than tensorflow itself.

@arieltci
Copy link
Author

I pip installed it but I run the tutorial from the repository after git fetched
it.

Sent with Mixmax

On Sun, Nov 15, 2015 at 7:44 PM, Geoffrey Irving < notifications@github.com > wrote:
Yep, you're running 2.7, but how did you install tensorflow and where did you
get the tutorial? I think you might be running a newer version of the tutorial
than tensorflow itself.


Reply to this email directly or view it on GitHub .

@girving
Copy link
Contributor

girving commented Nov 15, 2015

@arieltci: For now, deleting that import is the right thing for you to do. @vrv: Not sure if we should close or remove that division from the tutorial so that it's more backwards compatible.

@girving
Copy link
Contributor

girving commented Nov 16, 2015

I'm going to fix the tutorial in git to be compatible back to 0.5.0.

@girving girving self-assigned this Nov 16, 2015
@girving
Copy link
Contributor

girving commented Nov 16, 2015

Fixed, will be part of the next git commit. Thanks for reporting!

@girving girving closed this as completed Nov 16, 2015
lukeiwanski pushed a commit to codeplaysoftware/tensorflow that referenced this issue Jun 13, 2018
tensorflow-copybara pushed a commit that referenced this issue Nov 19, 2019
…o the Toy tutorial compiler

Fix #229

PiperOrigin-RevId: 279557863
cjolivier01 pushed a commit to Cerebras/tensorflow that referenced this issue Dec 6, 2019
…-patch-2

Adding step to install ROCm dependencies to README
ashahba added a commit to Intel-tensorflow/tensorflow that referenced this issue Feb 4, 2022
…mkl_backend

oneMKL backend for sparse matmul
ashahba added a commit to Intel-tensorflow/tensorflow that referenced this issue Feb 4, 2022
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

2 participants