-
Notifications
You must be signed in to change notification settings - Fork 110
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
PyCall not found error #515
Comments
Thus should have been fixed by #493 |
Ah, you are using Ah for some reason v0.12 hasn't been registered. For now do |
Thank you so much for your response, Lyndon. I'll try later and let you
know the result.
I should've mentioned that I was recently able to run the logistic example
(but none of the others except mnist_load.jl) by installing
TensorFlow#eager_mode, which seems to install v0.12.0. Is there any
difference between TensorFlow#eager_mode and TensorFlow#master?
…On Sat, Jan 18, 2020, 12:48 PM Lyndon White ***@***.***> wrote:
Ah, you are using v0.11.0
And it isn't fixed until v0.12.
Ah for some reason v0.12 hasn't been registered.
https://github.com/JuliaRegistries/General/blob/master/T/TensorFlow/Versions.toml
For now do ]add TensorFlow#master
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#515?email_source=notifications&email_token=AMOFOFJ5N6XBBHLCHRKHCQ3Q6NFGZA5CNFSM4KHZZCW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJJ7M6I#issuecomment-575927929>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMOFOFI3XBZPEMVQABWPSGDQ6NFGZANCNFSM4KHZZCWQ>
.
|
The eager mode branch is a little bit behind master. |
I re-built the system with Julia 1.0.5 and installed TensorFlow#master. I noted that both TensorFlow#master and TensorFlow#eager_mode spit out the following when I execute
Anyway, even with TensorFlow#master, I can run logistic.jl and keras.jl but none of the other scripts in the examples directory. What I don't quite understand is why several other examples (like ae.jl and mnist_*.jl) ask for installing the package MNIST, but when I try installing it, I get the message:
Should I open a different issue ticket for this? |
yes, open another issue. |
Thanks, will do. Excuse my novice ignorance, but what do you mean by PR?
…On Sun, Jan 19, 2020, 2:50 PM Lyndon White ***@***.***> wrote:
Anyway, even with TensorFlow#master, I can run logistic.jl and keras.jl
but none of the other scripts in the examples directory. What I don't quite
understand is why several other examples (like ae.jl and mnist_*.jl) ask
for installing the package MNIST, but when I try installing it, I get the
message:
yes, open another issue.
Core of it is the MNIST package doesn't exist anymore and has been
replaced with MLDatasets but the examples and docs need to be updated.
You could skip straight to the PR.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#515?email_source=notifications&email_token=AMOFOFINNZ5LSOV3T2KJFGDQ6S4KVA5CNFSM4KHZZCW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJK4DPA#issuecomment-576045500>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMOFOFING5334DE3UCXVDTLQ6S4KVANCNFSM4KHZZCWQ>
.
|
PR = Pull Request. It's how you can suggest a change to this repository. https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/about-pull-requests |
Just to clarify, how do I see that LibTensorFlow is different between
TensorFlow#master and TensorFlow#eager_mode?
Il giorno dom 19 gen 2020 alle ore 17:25 Lyndon White <
notifications@github.com> ha scritto:
… PR = Pull Request.
It's how you can suggest a change to this repository.
The literal meaning is to Request we Pull the changes from your branch.
https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/about-pull-requests
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#515?email_source=notifications&email_token=AMOFOFJJ2XO3KWYKKIYYUWLQ6TOOBA5CNFSM4KHZZCW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJK7QBI#issuecomment-576059397>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMOFOFLVHRKJF3KA2OCZO2TQ6TOOBANCNFSM4KHZZCWQ>
.
|
It might be that I misread the commit history and they are the same. |
The tutorial fails again. Now
Edit: I was using #master since the current version gave me
This one is from the
|
Does it also fail when TensorFlow#master is installed? |
What do you mean? I was using master. |
Just asking... I was able to make it work simply removing the package and re-installing it as Lyndon suggested. |
Nope, didn't work, sorry. Which commit did you use? |
After a fresh installation of Julia on CentOS 7.2, I added TensorFlow, ran the "basic usage" test in README.md and passed it. Then, after installing also the Distributions and Printf packages, I tried to run the "logistic regression example" in the same README and, when I executed
minimize_op = train.minimize(optimizer, Loss)
, I got an error claiming PyCall is not found in current path (see snippet below).Scratching my head, I subsequently added PyCall and re-ran the logistic regression example. Again I was thrown an error at
minimize_op = train.minimize(optimizer, Loss)
, however this time the error stated thatpy_gradients
is not defined (see folowing snippet). How can it be? Any idea on how to fix it?I even tried to kill process 2 (
rmprocs(2)
), but kept facing an error at the same place:If you are making a bug report, please copy and paste the output of the following Julia snippet into the issue:
The text was updated successfully, but these errors were encountered: