-
Notifications
You must be signed in to change notification settings - Fork 120
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 while running a test run with an image #8
Comments
I got same error. I think this occurs due to incomplete version migration in some of the scripts of this project. This solved the error for me: Open network_base.py which is in tf_pose directory , and replace the line where GlorotUniform is initialized with this line : _init_xavier = tf.initializers.glorot_uniform() |
Hey @SarangChougs thanks for the reply. Will try that out for sure! |
Hello guys, I'm also encountering issues running the test run scripts.
it fails after some time with
I have ubuntu 18.04 on a Jetson Xavier AGX, with tensorflow 2.4 and python 3.6.9 By the way, I also tried the other test script with the webcam:
and met my demise with
If someone had a hint to share with me as to which direction I could try and follow to make this work, that would be really appreciated. Cheers |
Hello @lweingart checkout the reply by @SarangChougs I've not tried it yet but doing the following seems working for him |
Hello @djramakrishna, I tried the change proposed by @SarangChougs, but it did not solve the problem. Also, my error is not the same as you had at the beginning.
I have no idea how to fix this unfortunately. Did you get better results (if you had time to give it a try) ? Cheers |
Hey, @lweingart it seems the network graph doesn't contain or support the tensor that it's looking for, that's just my wild guess from your output. I will try working on it, and get back to you if I've found a work around! |
I have the same problem.@Iweingart |
@WXY-kt @lweingart i had the same issue and resolved. this sort out my issue. |
I also resolved with @mithelan 's solution!!! |
I've followed the instructions provided for all the dependencies, but using pip instead of conda. I've received the following error while running the pose estimation on an image.
Type of Issue: Help required
AttributeError: module 'tensorflow._api.v1.initializers' has no attribute 'GlorotUniform'
Has anyone faced this issue or does anyone have any insights to what might be happening?
Executed Command : python run.py --model=mobilenet_thin --resize=432x368 --image=./images/p1.jpg
Operating system (Ubuntu): Ubuntu 18.04
The text was updated successfully, but these errors were encountered: