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

motion_imitate.py error #5

Closed
lordlugo opened this issue Dec 7, 2020 · 12 comments
Closed

motion_imitate.py error #5

lordlugo opened this issue Dec 7, 2020 · 12 comments

Comments

@lordlugo
Copy link

lordlugo commented Dec 7, 2020

Hi, have any clues? thank you guy so much for your work

Screen Shot 2020-12-06 at 9 17 19 PM

@piaozhx
Copy link
Contributor

piaozhx commented Dec 7, 2020

Are you running on your custom video but not demo video from our assets dir?
it looks like a problem in the process of "pre-processing".

@lordlugo
Copy link
Author

lordlugo commented Dec 7, 2020

Are you running on your custom video but not demo video from our assets dir?
it looks like a problem in the process of "pre-processing".

hi, thanks for the reply, this is exactly what I put into the terminal python demo/motion_imitate.py --gpu_ids 0 --image_size 512 --num_source 1 --output_dir "./results" --assets_dir "./assets" --model_id "donald_trump_2" --src_path "path?=/data/dev/projects/iPERCore/assets/samples/sources/donald_trump_2/00000.PNG,name?=donald_trump_2" --ref_path "path?=/data/dev/projects/iPERCore/assets/samples/references/akun_2.mp4,name?=akun_2,pose_fc?=300"

@StevenLiuWen
Copy link
Collaborator

hi, @thelordlugo , it seems that you have not installed the iPERCore successfully. Have you run python setup.py develop before you run the motion_imitate.py. If possible, could provide a snapshot of the installation stage?

@lordlugo
Copy link
Author

lordlugo commented Dec 7, 2020

Hi @StevenLiuWen Thanks for the reply, I reinstalled it, it doesn't show that error anymore, now it shows RuntimeError: nms is not compiled with GPU support

@StevenLiuWen
Copy link
Collaborator

StevenLiuWen commented Dec 7, 2020

Hi @thelordlugo , it seems that there are some problems when installing MMCV or mmdet,our preprocessing relies on these two packages. You can check it by running the followings:

import mmcv
import mmdet

Are there reporting some errors?

@StevenLiuWen
Copy link
Collaborator

hi @thelordlugo ,What's the Cuda version of your system?

@lordlugo
Copy link
Author

lordlugo commented Dec 7, 2020

@StevenLiuWen hi, it's 11.0

@lordlugo
Copy link
Author

lordlugo commented Dec 7, 2020

@StevenLiuWen made an error, it's 11.1

@StevenLiuWen
Copy link
Collaborator

@thelordlugo , currently we do not have the system with CUDA 11.0+.
you can try the followings:

pip uninstall mmcv mmcv-full, 
pip install mmcv-full==1.2.0

Let us know, if this works, and we will update the setup.py

@lordlugo
Copy link
Author

lordlugo commented Dec 7, 2020

@StevenLiuWen Hi, fixed it, works great now, had to completely uninstall Cuda 11.1 and installed 10.2. Thanks!

@lordlugo lordlugo closed this as completed Dec 7, 2020
@StevenLiuWen StevenLiuWen reopened this Dec 7, 2020
@StevenLiuWen
Copy link
Collaborator

@thelordlugo , It seems that there are some problems in setup.py when installing with CUDA 11.0+. We only test on CUDA 10.1 and CUDA 10.2. We will try to fix it with CUDA 11.0+ later.

@lordlugo
Copy link
Author

lordlugo commented Dec 7, 2020

@StevenLiuWen awesome! I have one more question if you don't mind, I have another pc at home with 4 Tesla V100's, does it scale well across multiple GPU's?

Thanks again

@lordlugo lordlugo closed this as completed Dec 8, 2020
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

3 participants