-
Notifications
You must be signed in to change notification settings - Fork 102
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
FailedPreconditionError: Attempting to use uninitialized value spectral_net_learning_rate #23
Comments
I have exactly the same problem, please keep me updated if you have found a solution to it. |
Hi, thanks for using SpecrtalNet, which version of TensorFlow are you using? |
Thanks. I run the code on tensorflow1.14.0 and 1.15.0, both get the same error. |
For me, the error was resolved by changing the variable initialization in the SpectralNet class (networks.py) to this: |
I changed the variable initialization in networks.py: |
@wangemm do you have any update on reproducing the paper results? I have the same issue. I can only achieve the mentioned results when I choose knn affinity and use code space. For the other options I did not succeed in reproducing the results. |
@CatherineTaelman I also choose knn affinity and use code space. And get the results:ACC0.395 NMI0.315. |
This is old, but have you made sure to use keras==2.3 as well? We realized that this was an important choice. |
hi, i have same issue im using keras==2.3 and tensorflow version 1.5 |
Thankyou for the research on SpectralNet and this opensourse code. I have the same question as @mertsener057 and some of the users' above. While I am now have two questions briefly:
|
When I tried to run python3 run.py,this error came out.
ERROR:
Traceback (most recent call last):
File "/home/dxchang/miniconda3/envs/vic36/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1356, in _do_call
return fn(*args)
File "/home/dxchang/miniconda3/envs/vic36/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1341, in _run_fn
options, feed_dict, fetch_list, target_list, run_metadata)
File "/home/dxchang/miniconda3/envs/vic36/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1429, in _call_tf_sessionrun
run_metadata)
tensorflow.python.framework.errors_impl.FailedPreconditionError: Attempting to use uninitialized value spectral_net_learning_rate
[[{{node spectral_net_learning_rate/read}}]]
The text was updated successfully, but these errors were encountered: