-
Notifications
You must be signed in to change notification settings - Fork 558
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
AttributeError: module 'tensorflow_quantum' has no attribute 'resolve_parameters' #440
Comments
Anyone who would like to help me on this. |
Hi @Raghvender1205 . I wasn't able to reproduce this issue in cloud. I ran the tutorial by clicking on the "Run in Google Colab" button here https://www.tensorflow.org/quantum/tutorials/quantum_data and it ran all the way through just fine. If you are running on your local machine, could you first make sure you are running TensorFlow 2.3.1 as well as TensorFlow Quantum 0.4.0 to see if that fixes things ? If the error persists could you please provide more details on what OS, version of python as well as a more detailed error log etc. ? |
Ok
…On Sat, 21 Nov, 2020, 12:47 pm MichaelBroughton, ***@***.***> wrote:
Hi @Raghvender1205 <https://github.com/Raghvender1205> . I wasn't able to
reproduce this issue in cloud. I ran the tutorial by clicking on the "Run
in Google Colab" button here
https://www.tensorflow.org/quantum/tutorials/quantum_data and it ran all
the way through just fine. If you are running on your local machine, could
you first make sure you are running TensorFlow 2.3.1 as well as TensorFlow
Quantum 0.4.0 to see if that fixes things ? If the error persists could you
please provide more details on what OS, version of python as well as a more
detailed error log etc. ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#440 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMWNRINRHXJUQCCJQDJYEYLSQ5SPDANCNFSM4T5KAANQ>
.
|
Any updates on this ? |
I am not able to execute the code on jupyter due to |
This is still not enough information to begin to try and diagnose the problem. Can you take a look at issues like this one: #407 and include the full output logs, what particular section caused the error as well as what OS + versions of python, tfq etc. you are working with. |
Sure, I will do that.
…On Thu, 3 Dec, 2020, 11:02 pm MichaelBroughton, ***@***.***> wrote:
This is still not enough information to begin to try and diagnose the
problem. Can you take a look at issues like this one: #407
<#407> and include the full
output logs, what particular section caused the error as well as what OS +
versions of python, tfq etc. you are working with.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#440 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMWNRIOSEO2WIQ4OGWEEBLTSS7DTPANCNFSM4T5KAANQ>
.
|
Any updates on this ? |
I was following up with the Quantum Data notebook on Tensorflow Quantum.
During
def prepare_pqk_circuits(qubits, classical_source, n_trotter=10):
in the last i returned
return tfq.resolve_parameters(
full_circuits, tf.convert_to_tensor([str(x) for x in symbols]),
tf.convert_to_tensor(classical_source*(n_qubits/3)/n_trotter))
but when testing and preparing data encoding around the dataset it gave me this error
and its very slow to execute
https://www.tensorflow.org/quantum/tutorials/quantum_data
The text was updated successfully, but these errors were encountered: