-
Notifications
You must be signed in to change notification settings - Fork 151
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 running code : examples/policy.py #55
Comments
Hi @VaibhavJolly, For the Python 2.7 installation, could you try importing the module in an interpreter and post the output? Regarding the Python 3.6 installation, we currently only support Python 2.7, thus there could be some package setup differences introduced in Python 3.x that are preventing Python from finding the appropriate modules. Thanks, |
Hi vishal,
Thanks ! |
Oh sorry, I actually meant |
Hi, Thanks ! |
Hmm, so it seems that everything was installed correctly. Unfortunately, the @jeffmahler do you have any thoughts? |
Resolved. |
Hi vishal, |
hi ,i have the same problem,,how do you solve it? |
Hi @WYCEN, Which version of Python are you using? Can you also paste the exact output so we can help you debug? Thanks, |
Hi,vishal |
The steps I have taken are as follows: $ mkdir Dex-Net $ git clone https://github.com/BerkeleyAutomation/gqcnn.git $ ./scripts/downloads/models/download_models.sh |
Ahh okay, so it seems that Python 2.7 compatibility is currently broken because of an issue with the Thanks, |
@rickstaa thanks for the correct pyglet version! The issue I was seeing with scikit-image was that although the GQ-CNN dep explicitly states |
@visatish I noticed the same behaviour last month so I assumed it had something to do with a hard version dependency of another requirement. In that case, I think at least a requirement conflict warning should have been thrown by pip. I, however, can not remember if such a warning was present. Currently, I do not use your I did some testing in a
This is as expected and I think (but am not sure) that by design pip lets it to the user to resolve these kinds of conflicts instead of downgrade or update to the required version itself. |
@rickstaa That's interesting, I might dig into it a bit myself to see if I can replicate the issue then. I'll let you know what I find. Thanks so much for debugging for us haha! |
@visatish No problem at all. Let me know if you found the issue I'm curious to see what could cause such a problem. |
|
Hi @baihaisheng, This is a fairly common TensorFlow error that can be caused by a few different things under-the-hood. Off the top of my head, it could be a potential version issue between TensorFlow and CUDA. I'm afraid I won't be able to help too much with it, but you can definitely find similar errors if you Google a bit! Thanks, |
Thank you so much,I'll check the problem and solve it.
…------------------ 原始邮件 ------------------
发件人: "visatish"<[email protected]>;
发送时间: 2019年11月25日(星期一) 中午12:49
收件人: "BerkeleyAutomation/gqcnn"<[email protected]>;
抄送: "331341501"<[email protected]>;"Mention"<[email protected]>;
主题: Re: [BerkeleyAutomation/gqcnn] Error running code : examples/policy.py (#55)
Hi @baihaisheng,
This is a fairly common TensorFlow error that can be caused by a few different things under-the-hood. Off the top of my head, it could be a potential version issue between TensorFlow and CUDA. I'm afraid I won't be able to help too much with it, but you can definitely find similar errors if you Google a bit!
Thanks,
Vishal
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Hi @visatish |
i have the same question, and can you share the solution? thanks in advance ! |
你好,你的邮件已经收到!祝好!柏海生
|
Hi,
I have installed all the required dependencies for running gqcnn code following your GQCNN 1.0.0 documentation .I am trying to run examples/policy.py with dexnet 2.0 pretrained model but getting error :
1)When I am running the script using python 2.7 : I get different warnings and error as :
./scripts/policies/run_all_dex-net_2.0_examples.sh
RUNNING EXAMPLE 1
WARNING:root:Failed to import geometry msgs in rigid_transformations.py.
WARNING:root:Failed to import ros dependencies in rigid_transforms.py
WARNING:root:autolab_core not installed as catkin package, RigidTransform ros methods will be unavailable
WARNING:root:autolab_perception is not installed as a catkin package - ROS msg conversions will not be available for image wrappers
WARNING:root:autolab_perception is not installed as a catkin package - ROS msg conversions will not be available for image wrappers
WARNING:root:Unable to import CNN modules! Likely due to missing tensorflow.
WARNING:root:TensorFlow can be installed following the instructions in https://www.tensorflow.org/get_started/os_setup
WARNING:root:Unable to import pylibfreenect2. Python-only Kinect driver may not work properly.
WARNING:root:Unable to import openni2 driver. Python-only Primesense driver may not work properly
WARNING:root:Failed to import ROS in primesense_sensor.py. ROS functionality not available
WARNING:root:primesense_sensor.py not installed as catkin package. ROS functionality not available.
WARNING:root:Failed to import ROS in ensenso_sensor.py. ROS functionality not available
Segmentation fault (core dumped)
2)When I am running the script using python 3.6 : I get the following error :
Traceback (most recent call last):
File "examples/policy.py", line 41, in
from gqcnn.grasping import RobustGraspingPolicy, CrossEntropyRobustGraspingPolicy, RgbdImageState, FullyConvolutionalGraspingPolicyParallelJaw, FullyConvolutionalGraspingPolicySuction
File "/home/dl/virtual_env3/lib/python3.7/site-packages/gqcnn-1.0.0-py3.7.egg/gqcnn/init.py", line 22, in
ModuleNotFoundError: No module named 'model'
But I can see the module is present there !
Thank you in advance !
The text was updated successfully, but these errors were encountered: