rmbashirov / rgbd-kinect-pose

Demo for "Real-time RGBD-based Extended Body Pose Estimation" paper
MIT License
177 stars 22 forks source link

In file folder "docker",run ./build.sh ERROR #16

Open Britton-Li opened 1 year ago

Britton-Li commented 1 year ago

...... E: Unable to locate package libcudnn7 E: Unable to locate package libcudnn7-dev The command '/bin/sh -c apt-get -y update && apt-get install -y --no-install-recommends libcudnn7=7.6.5.32-1+cuda10.2 libcudnn7-dev=7.6.5.32-1+cuda10.2 && apt-mark hold libcudnn7 && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100

JJLimmm commented 1 year ago

Hi @rmbashirov , i am facing this issue as well... Have you faced this issue before and know a solution for this?

JJLimmm commented 1 year ago

Hi @Britton-Li , follow the download link from google in one of the comments inside issue #5. using docker load < azure_kinect.tar to load the docker image and run from there. it should work.

jeonsun3629 commented 1 year ago

Hello, @JJLimmm! I've downloaded azure_kinect.tar and loaded the docker image and ran it. But I'm keep facing issues connecting Kinect to the docker. Did you have any problem running this application after downloading the image?

I really don't have any clue why I can't run this from the docker. My current setting is CPU: intel i5 6300k GPU: RTX 3070 RAM 32gb

JJLimmm commented 1 year ago

Hello, @JJLimmm! I've downloaded azure_kinect.tar and loaded the docker image and ran it. But I'm keep facing issues connecting Kinect to the docker. Did you have any problem running this application after downloading the image?

I really don't have any clue why I can't run this from the docker. My current setting is CPU: intel i5 6300k GPU: RTX 3070 RAM 32gb

Hi @jeonsun3629 , i did not have a problem running the application after downloading the image. Maybe you could first check if your computer can open up the Azure kinect SDK's GUI? You can check it by running command in terminal k4aviewer, if you can start the device and view the camera streams means that your computer is able to connect to the device successfully. Maybe after that you can try this step if you have not done it. (Running inside docker is running without admin privilleges.)

jeonsun3629 commented 1 year ago

Thanks for the kind reply @JJLimmm.

But sadly, I'm still getting the error. Here's how I'm doing. The k4aviewer works in local ubuntu, but as I run docker and command python -m pyk4a.viewer --vis_color --no_bt --no_depth, I get
ImportError: libopencv_core.so.4.2: cannot open shared object file: No such file or directory

So, I added the path by export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib, and command python -m ~~~

As a final error, I'm getting docker@14b5defc3dcc:/src$ python -m pyk4a.viewer --vis_color --no_bt --no_depth connecting... [2023-02-20 10:49:12.386] [error] [t=31] /w/1/s/extern/Azure-Kinect-Sensor-SDK/src/usbcommand/usbcommand.c (364): find_libusb_device(). Unable to open LIBUSB at index 0 [2023-02-20 10:49:12.386] [error] [t=31] /w/1/s/extern/Azure-Kinect-Sensor-SDK/src/depth_mcu/depth_mcu.c (68): usb_cmd_create(USB_DEVICE_DEPTH_PROCESSOR, device_index, NULL, &depthmcu->usb_cmd) returned failure in depthmcu_create() [2023-02-20 10:49:12.386] [error] [t=31] /__w/1/s/extern/Azure-Kinect-Sensor-SDK/src/sdk/k4a.c (133): depthmcu_create(index, &device->depthmcu) returned failure in k4a_device_open() Traceback (most recent call last): File "/opt/conda/lib/python3.7/runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "/opt/conda/lib/python3.7/runpy.py", line 85, in _run_code exec(code, run_globals) File "/opt/conda/lib/python3.7/site-packages/pyk4a/viewer.py", line 126, in main() File "/opt/conda/lib/python3.7/site-packages/pyk4a/viewer.py", line 45, in main k4a.connect(lut=True) File "/opt/conda/lib/python3.7/site-packages/pyk4a/pyk4a.py", line 46, in connect self._device_open() File "/opt/conda/lib/python3.7/site-packages/pyk4a/pyk4a.py", line 59, in _device_open self._verify_error(res) File "/opt/conda/lib/python3.7/site-packages/pyk4a/pyk4a.py", line 343, in _verify_error raise K4AException() pyk4a.pyk4a.K4AException tjDestroy error

and this is as far as i got...

wbueschel commented 1 year ago

Hello, I also get the libcudnn7 error. Does someone have a working docker image they can upload? The google drive download in #5 always fails with a network error for me.

JJLimmm commented 1 year ago

Can you guys try to load the docker image again from the .tar file in this link? Copy and Paste the link into your browser, dont just click on it. https://drive.google.com/file/d/1h9TTmysSfBCzRx9nqwQ-LF4zkZuSKF4-/view?usp=sharing

then try to follow the steps again in #5 to see if it works. Remember to add Nvidia as your default runtime for docker

wbueschel commented 1 year ago

The link does not work, unfortunately. I tried it on two different computers. The download always fails after a few GB.

jeonsun3629 commented 1 year ago

I was trying to download .tar file from the link, and now the file is gone... @rmbashirov is it possible to upload the docker image file again in this thread? It will be very helpful :)

JJLimmm commented 1 year ago

Hey guys @jeonsun3629 @wbueschel , sflr. I just checked the link and i think the host removed the link... I dont have a copy of it with me as well.. Seems like would need the original person ( @XGenietony ) who uploaded it in #5 to upload here again.

However, the other link uploaded to Baidu works, but i did not try downloading it as it prompted me to install the Baidu software which i am unable to install on my local PC due to my organisation's security policy.

XGenietony commented 1 year ago

Hey guys @jeonsun3629 @wbueschel , sflr. I just checked the link and i think the host removed the link... I dont have a copy of it with me as well.. Seems like would need the original person ( @XGenietony ) who uploaded it in #5 to upload here again.

However, the other link uploaded to Baidu works, but i did not try downloading it as it prompted me to install the Baidu software which i am unable to install on my local PC due to my organisation's security policy.

i have uploaded the .tar again.

You can try to download this file from https://drive.google.com/file/d/17f14JTjZRNZW5H3-GMnmR8Iqq3fpbepY/view?usp=share_link

jeonsun3629 commented 1 year ago

Thank you @XGenietony ! Seems like that google drive requires access though. I sent you a request!

XGenietony commented 1 year ago

Thank you @XGenietony ! Seems like that google drive requires access though. I sent you a request!

I just public the link. Maybe you can try it again.

wbueschel commented 1 year ago

Thank you @XGenietony, I was able to download the .tar now!

Yummypika commented 1 year ago

I want to run metric.py to get results, but I don't have these files *_dp.Could you provide me with the files to run metric.py?