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

ModuleNotFoundError: No module named 'numpy.core._multiarray_umath' #347

Closed
ghost opened this issue Jan 13, 2021 · 10 comments
Closed

ModuleNotFoundError: No module named 'numpy.core._multiarray_umath' #347

ghost opened this issue Jan 13, 2021 · 10 comments

Comments

@ghost
Copy link

ghost commented Jan 13, 2021

Hello,

I had this exact problem #335 (comment)

I then did this from Ali Aliev (post reference #336)
#336 (comment)

"The problem is that we use old Pytorch version which doesn't support brand new 3080. If we update Pytorch we can break support for older GPUs.

@board808 @hshshv @gabtremblay @sjhill01 @chapoogie Open Miniconda and try these:

cd avatarify
conda activate avatarify
conda install pytorch torchvision cudatoolkit=11.0 -c pytorch
run_windows.bat
This will update Pytorch to the latest version and should help in your case. "

OK here are my PC Specs: i910900K Nvidia RTX 3090
Anything else i should add in here?

image

@alievk
Copy link
Owner

alievk commented Jan 14, 2021

Looks like wrong numpy version. Try this:

conda activate avatarify
conda install -y -c conda-forge numpy==1.19.1

@ghost
Copy link
Author

ghost commented Jan 14, 2021

Intalled no problem. Tried to run windows.bat. Got this.
image

@alievk
Copy link
Owner

alievk commented Jan 14, 2021

Ok, it's a known issue. Now do this:

conda activate avatarify
pip uninstall scikit-image
conda install -y -c conda-forge scikit-image

@ghost
Copy link
Author

ghost commented Jan 14, 2021

That did its thing, now next error after run windows bat. Do i need to "condo activate avatarify before i run_windows.bat? (thank you for your speedy help btw)
image

@alievk
Copy link
Owner

alievk commented Jan 14, 2021

You don't need to call conda activate before run_windows.bat.
Please pull the latest update from the repo and call run_windows.bat again:

cd avatarify
git pull origin master

@ghost
Copy link
Author

ghost commented Jan 15, 2021

That did the trick! Thank you very much.

@alievk
Copy link
Owner

alievk commented Jan 15, 2021

Glad to hear that!

Now I wonder whats your FPS? You can press I on your keyboard and it will print info in the cam window. If you share screenshot of that window it would be ideal, but FPS would be enough too.

@ghost
Copy link
Author

ghost commented Jan 15, 2021

FPS: avg 32

mode time: flickering at 18-20
pre: flickering at 1-2
post: flickering at 8-12

@gabtremblay
Copy link

Thanks, fixed the problem. Also running 31 fps here on 3080

@JohanAR
Copy link
Collaborator

JohanAR commented Jan 19, 2021

These changes are now on master. I think everybody here has got it working so I'm closing this issue. Feel free to re-open or create a new issue if anyone's still having problems.

@JohanAR JohanAR closed this as completed Jan 19, 2021
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