-
Notifications
You must be signed in to change notification settings - Fork 52
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
error in facial_exchange.py #10
Comments
I don't know your detailed environment, so I can't answer. did you run it according to the jupyter-notebook file? did you successfully convert the weights before facial_exchange.py? |
I do run according to the jupyter-notebook file and have converted the weights, so there should be a problem with my operating environment? But other tasks, such as image_crossover.py, image_morphing.py, etc., all run successfully. |
umm...It looks like facial_exchange.py is running in pytorch and not calling dnnlib. Can you show me the error log so that I can see at what stage the error is occurring? |
Traceback (most recent call last): |
I'm sorry, I don't know why you get the error in facial_exchange.py but not in image_crossover.py. |
Ok, I will try again, thanks for your answer |
Hello, can you share the weight file? The link provided by the author cannot be downloaded at this time. |
Hello,when I run this .py file,error happend,can you tell me how to solve?thank you!
"RuntimeError: No default TensorFlow session found. Please call dnnlib.tflib.init_tf()."
the complete code in dnnlib/tflib/tfutil.py:
def assert_tf_initialized():
"""Check that TensorFlow session has been initialized."""
if tf.get_default_session() is None:
raise RuntimeError("No default TensorFlow session found. Please call dnnlib.tflib.init_tf().")
The text was updated successfully, but these errors were encountered: