Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Issue with installation on Ubuntu20 on Windows 10 machine #30

Closed
Crackpack opened this issue Oct 14, 2020 · 4 comments
Closed

Issue with installation on Ubuntu20 on Windows 10 machine #30

Crackpack opened this issue Oct 14, 2020 · 4 comments
Assignees
Labels
bug Something isn't working fixed Fixed, Waiting for confirmation it works! question Further information is requested

Comments

@Crackpack
Copy link

I am using ubuntu 20.04 on linux (Previous MocapNET version had no issue)

OpenCV version 4.2
CUDA version 10.1.243

CMAKE ERROR:

MocapNET-master/src/MocapNET2/MocapNETLib2/visualization/widgets.cpp: In function ‘int visualizeOrientation(cv::Mat&, const char*, float, float, float, float, float, unsigned int, unsigned int, unsigned int, unsigned int)’:
/mnt/e/AI/MocapNETV2_1-master/MocapNET-master/src/MocapNET2/MocapNETLib2/visualization/widgets.cpp:268:67: error: ‘CV_AA’ was not declared in this scope; did you mean ‘CV_MSA’?
  268 |     cv::line(img,startPoint,arrowPointing,cv::Scalar(0,255,255),4,CV_AA,0);
      |                                                                   ^~~~~
      |                                                                   CV_MSA
make[2]: *** [src/MocapNET2/MocapNETLib2/CMakeFiles/MocapNETLib2.dir/build.make:752: src/MocapNET2/MocapNETLib2/CMakeFiles/MocapNETLib2.dir/visualization/widgets.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:457: src/MocapNET2/MocapNETLib2/CMakeFiles/MocapNETLib2.dir/all] Error 2
make: *** [Makefile:84: all] Error 2

If I replace CV_AA with CV_MSA...build will be successful...but when i run command:
./MocapNET2LiveWebcamDemo --novisualization --from shuffle.webm --openpose

I get error:

Loading Pose 0 -> dataset/poses/neutral.bvh  : Pose 0 -> dataset/poses/neutral.bvh  is corrupted
Failure
Loading Pose 1 -> dataset/poses/tpose.bvh  : Pose 1 -> dataset/poses/tpose.bvh  is corrupted
Failure
Loading Pose 2 -> dataset/poses/x.bvh  : Pose 2 -> dataset/poses/x.bvh  is corrupted
Failure
Loading Pose 3 -> dataset/poses/handsup.bvh  : Pose 3 -> dataset/poses/handsup.bvh  is corrupted
Failure
Loading Pose 4 -> dataset/poses/leftwave.bvh  : Pose 4 -> dataset/poses/leftwave.bvh  is corrupted
Failure
Loading Pose 5 -> dataset/poses/rightright.bvh  : Pose 5 -> dataset/poses/rightright.bvh  is corrupted
Failure
Loading Pose 6 -> dataset/poses/leftleft.bvh  : Pose 6 -> dataset/poses/leftleft.bvh  is corrupted
Failure
Loading Pose 7 -> dataset/poses/push.bvh  : Pose 7 -> dataset/poses/push.bvh  is corrupted
Failure
Loading Pose 8 -> dataset/poses/rightwave.bvh  : Pose 8 -> dataset/poses/rightwave.bvh  is corrupted
Failure
Failed to read recognized Poses
This is not fatal, but poses/gestures will be deactivated..
Initializing output filters : .......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Could not find a pose categorization classifier for UpperBody..
 Graph dataset/combinedModel/mocapnet2/mode5/1.0/upperbody_front.pb could not be found
Graph dataset/combinedModel/mocapnet2/mode5/1.0/upperbody_back.pb could not be found
Graph dataset/combinedModel/mocapnet2/mode5/1.0/upperbody_left.pb could not be found
Graph dataset/combinedModel/mocapnet2/mode5/1.0/upperbody_right.pb could not be found
Could not find a pose categorization classifier for LowerBody..
 Graph dataset/combinedModel/mocapnet2/mode5/1.0/lowerbody_front.pb could not be found
Graph dataset/combinedModel/mocapnet2/mode5/1.0/lowerbody_back.pb could not be found
Graph dataset/combinedModel/mocapnet2/mode5/1.0/lowerbody_left.pb could not be found
Graph dataset/combinedModel/mocapnet2/mode5/1.0/lowerbody_right.pb could not be found


out.bvh file is not generated.

@AmmarkoV
Copy link
Collaborator

You have not run the initialize.sh script and you do not have the tensorflow networks required

@AmmarkoV AmmarkoV self-assigned this Oct 15, 2020
@AmmarkoV AmmarkoV added the question Further information is requested label Oct 15, 2020
@Crackpack
Copy link
Author

Crackpack commented Oct 15, 2020

After the update and installing tensorflow 1.14.0 , ./initialize.sh builds successfully.
But on runing,
./MocapNET2LiveWebcamDemo --novisualization --from shuffle.webm

I faced 2 more issues :

1 DATASET POSES CORRUPTED WARNING

Loading Pose 0 -> dataset/poses/neutral.bvh  : Pose 0 -> dataset/poses/neutral.bvh  is corrupted
Failure
Loading Pose 1 -> dataset/poses/tpose.bvh  : Pose 1 -> dataset/poses/tpose.bvh  is corrupted
Failure
Loading Pose 2 -> dataset/poses/x.bvh  : Pose 2 -> dataset/poses/x.bvh  is corrupted
Failure
Loading Pose 3 -> dataset/poses/handsup.bvh  : Pose 3 -> dataset/poses/handsup.bvh  is corrupted
Failure
Loading Pose 4 -> dataset/poses/leftwave.bvh  : Pose 4 -> dataset/poses/leftwave.bvh  is corrupted
Failure
Loading Pose 5 -> dataset/poses/rightright.bvh  : Pose 5 -> dataset/poses/rightright.bvh  is corrupted
Failure
Loading Pose 6 -> dataset/poses/leftleft.bvh  : Pose 6 -> dataset/poses/leftleft.bvh  is corrupted
Failure
Loading Pose 7 -> dataset/poses/push.bvh  : Pose 7 -> dataset/poses/push.bvh  is corrupted
Failure
Loading Pose 8 -> dataset/poses/rightwave.bvh  : Pose 8 -> dataset/poses/rightwave.bvh  is corrupted
Failure
Failed to read recognized Poses
This is not fatal, but poses/gestures will be deactivated..

2. TRYING TO OPEN DISPLAY EVEN NOVISUALIZATION IS ADDED IN PARAMS:

Tensor: input_right inputs: 0
 outputs: 1
 Output Tensor for dataset/combinedModel/mocapnet2/mode5/1.0/lowerbody_right.pb
Tensor: result_right/concat inputs: 46
 outputs: 1
Caching networks after initialization to be ready for use..
Caching model 0 (dataset/combinedModel/mocapnet2/mode5/1.0/categorize_lowerbody_all.pb) was successful
Caching model 1 (dataset/combinedModel/mocapnet2/mode5/1.0/lowerbody_front.pb) was successful
Caching model 2 (dataset/combinedModel/mocapnet2/mode5/1.0/lowerbody_back.pb) was successful
Caching model 3 (dataset/combinedModel/mocapnet2/mode5/1.0/lowerbody_left.pb) was successful
Caching model 4 (dataset/combinedModel/mocapnet2/mode5/1.0/lowerbody_right.pb) was successful
Unable to init server: Could not connect: Connection refused


(3D Points Output:24907): Gtk-WARNING **: 17:20:03.667: cannot open display:

out.bvh file is not generated

@AmmarkoV
Copy link
Collaborator

AmmarkoV commented Oct 15, 2020

The second new issue is now fixed :
Other users also reported it #33
Try git pulling rebuilding and rerunning your command and it should now work..
You can ignore the gesture issue 1 and the related gesture code spam I will deactivate it completely so it doesn't clutter the console

@AmmarkoV AmmarkoV added bug Something isn't working fixed Fixed, Waiting for confirmation it works! labels Oct 15, 2020
@Crackpack
Copy link
Author

its working fine with the new update.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working fixed Fixed, Waiting for confirmation it works! question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants