Skip to content
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

Importing libraries could not be resolved and the 'experiments' directory path not found #52

Open
SomeshPTS opened this issue Sep 16, 2022 · 9 comments

Comments

@SomeshPTS
Copy link

Hello Team,

I am new to Pose2Mesh library and was trying to set it up using the instructions in README.
I have followed 'installation guidelines' and 'quick demo guidelines' and tried to run 'Demo on single person.
I have windows 10 and NIVIDIA Graphics.
I am using Anaconda environment and using VS Code as an IDE from Anaconda.
I have also copied the 'pkl' files mentioned in the steps. Downloaded the 'pytorch' and 'python' version mentioned, in base conda environment.
image

Please check the image 'lib_missing' for the missing libraries and the 'missing_issue' for the error/warning I am getting while running the 'Demo on single person'.
lib_missing
missing_issue

It will be very helpful If you can share the user guide to setup and run the 'Demo on single person'.
Thank you in advance.

@SomeshPTS SomeshPTS changed the title Importing utils lib could not be resolved and the 'experiments' directory path not found Importing libraries could not be resolved and the 'experiments' directory path not found Sep 16, 2022
@hongsukchoi
Copy link
Owner

Hi!

Can you share your demo running command?

I think you didn't run python demo/run.py --gpu 0 --input_pose demo/h36m_joint_input.npy --joint_set human36

@SomeshPTS
Copy link
Author

Hello @hongsukchoi,

Yes I was running the same command you have mentioned on VS Code Terminal.
image

@hongsukchoi
Copy link
Owner

OK. Did you make a directory experiment?

@SomeshPTS
Copy link
Author

Yes I did.
I have create a directory 'experiment' in root folder of Pose2Mesh
But it has given me a warning as incorrect directory name.

@SomeshPTS
Copy link
Author

In the terminal of VS code when I tried running the code with the command
python demo/run.py --gpu 0 --input_pose demo/h36m_joint_input.npy --joint_set human36

@hongsukchoi
Copy link
Owner

Hmm.. Maybe in Windows, all forward slashes should be changed to a back slash.
ex)

save_folder_path = 'experiment/{}'.format(save_folder)

@SomeshPTS
Copy link
Author

Any change I can do in the Config.py to make it work.

@hongsukchoi
Copy link
Owner

I guess line 22 and 29

@SomeshPTS
Copy link
Author

SomeshPTS commented Sep 19, 2022

Hello @hongsukchoi,
I have resolved the issues with your suggestion.
But while running the program on Windows (Anaconda and VS-Code IDE) I am currently getting following warning stating EGL is unavailable.
image

As I have investigated on few forums I have found that there is no EGL DLL available on windows
image

When I comment the following line from renderer.py
os.environ['PYOPENGL_PLATFORM'] = 'egl'# 'osmesa'
as per one of the suggestion I have got online the warning changes to following
image

Please suggest any change I need to do in code to run the program.
Also Should I continue using windows and VS code to run the program or is there any other OS (UBUNTU, CentOS) with which the program runs more correctly ?
Thank you in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants