mmskeleton icon indicating copy to clipboard operation
mmskeleton copied to clipboard

I can't run it correctly

Open RDSJC opened this issue 5 years ago • 16 comments

Code version (Git Hash) and PyTorch version

0.1.0 1.0.1

Dataset used

Expected behavior

I hope it will run correctly

Actual behavior

But it didn't

Steps to reproduce the behavior

Starting OpenPose demo... Configuring OpenPose... Starting thread(s)... Auto-detecting all available GPUs... Detected 1 GPU(s), using 1 of them starting at GPU 0. OpenPose demo successfully finished. Total time: 289.994776 seconds. Traceback (most recent call last): File "main.py", line 31, in p.start() File "/root/st-gcn/processor/demo.py", line 47, in start video = utils.video.get_video_frames(self.arg.video) File "/root/st-gcn/tools/utils/video.py", line 33, in get_video_frames vread = skvideo.io.vread(video_path) File "/usr/local/lib/python3.5/dist-packages/skvideo/io/io.py", line 147, in vread videodata = np.zeros((T, M, N, C), dtype=np.uint8) MemoryError

Other comments

RDSJC avatar Mar 10 '19 05:03 RDSJC

Try to run a shorter video

Txj8811 avatar Mar 13 '19 10:03 Txj8811

can i complie the openpose with python2 ,but use st-gcn with python3?thx

CompliceU avatar Mar 13 '19 13:03 CompliceU

@CompliceU I think you can. There is no envrionmental relation between st-gcn and openpose.

Txj8811 avatar Mar 13 '19 13:03 Txj8811

@Txj8811 But I want to make a show, show the teacher to use the camera to do the work, isn't it necessary to use openpose to do some work? Sorry, not very understanding

CompliceU avatar Mar 13 '19 13:03 CompliceU

@CompliceU I can’t understand your words of ‘ use the camera to do the work’. Use camera to make a real-time version of st-gcn ?

Txj8811 avatar Mar 13 '19 13:03 Txj8811

@Txj8811 Yes, it is best to do this, or use your own video to complete this demo, do not know how to configure, I hope to get your help

CompliceU avatar Mar 14 '19 01:03 CompliceU

@CompliceU well, you can run the st-gcn demo by your own video firstly.

Txj8811 avatar Mar 14 '19 02:03 Txj8811

hello, i can run your video demo successfully, but i want to know how to run a video stream with a camera.could you give me some advice about it?

zz-ycx avatar Mar 14 '19 03:03 zz-ycx

I'm also interested in the way of real-time method. I have set up a communication between openpose and st-gcn, use a sliding window to run the model. But it seems that the window sizes and steps depended on the trainned videos. The result looks ok, but is there a better way to do this?

Txj8811 avatar Mar 14 '19 03:03 Txj8811

@Txj8811 yeah ,i know it can work well,but i always lose when i complie the openpose with python3,hoho

CompliceU avatar Mar 14 '19 03:03 CompliceU

@CompliceU follow the openpose doc/installation.md. no problem.

Txj8811 avatar Mar 14 '19 03:03 Txj8811

@Txj8811 i try to save the openpose output and then recall fixed number frames to st-gcn to recognize ,but it seems not so good

zz-ycx avatar Mar 14 '19 03:03 zz-ycx

@Txj8811 I am also interested in real-time method and I wonder that if the st-gcn support it

RDSJC avatar Mar 15 '19 09:03 RDSJC

@Txj8811 I am also interested in real-time method .you said you have set up a communication between openpose and st-gcn, use a sliding window to run the model.Can I refer to your work?

xiehaizheng avatar Nov 25 '19 04:11 xiehaizheng

@xiehaizheng 时间隔的有点久了...可以联系我的wechat:txj8811,我可以给一些思路上的帮助。

Txj8811 avatar Dec 03 '19 16:12 Txj8811

hello, i can run your video demo successfully, but i want to know how to run a video stream with a camera.could you give me some advice about it?

Hi,I have just contact it.How to install the openpose python-api?

wyz0916-gitHub avatar Aug 30 '22 08:08 wyz0916-gitHub