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

No mmcv-full==1.2.0+torch1.7.0+cu101 for Windows #107

Closed
d1ddle opened this issue Apr 19, 2021 · 1 comment
Closed

No mmcv-full==1.2.0+torch1.7.0+cu101 for Windows #107

d1ddle opened this issue Apr 19, 2021 · 1 comment

Comments

@d1ddle
Copy link

d1ddle commented Apr 19, 2021

ModuleNotFoundError: No module named 'neural_renderer'

Running motion_imitate.py after installing from source using:
GTX 1650 Super, i7-4790K, Win 10 Pro 20H2
CUDA version 10.1;

I get thrown a ModuleNotFoundError. neural-renderer is nowhere to be found, through pip or source files.
A similar package called neural_renderer_pytorch exists, but that doesn't seem to install because of neural_renderer/cuda/load_textures_cuda.cpp(28): error C3861: 'AT_CHECK': identifier not found.
Here is a solution to this: neural_render_pytorch github
Apparently in neural_renderer_pytorch "AT_CHECK" needs to be changed to "TORCH_CHECK" to be compatible with Pytorch newer than 1.4. Using pip freeze I've found pytorch (torch) is at version 1.8.1.

Here is the initial ModuleNotFounderror:
File "C:\Users\{USER}\Documents\Motion_Imitate\iPERCore\iPERCore\tools\human_digitalizer\renders\nmr.py", line 9, in <module>
import neural_renderer_pytorch as nr
ModuleNotFoundError: No module named 'neural_renderer'

Any fix for this? Should I edit the AT_CHECK in neural_enderer_pytorch and use that, or is their a different package called neural_renderer I need to install?

EDIT: Fixed this, just copied nueral-renderer folder from binary release. Found after that the properly edited version can be found here - https://github.com/iPERDance/neural_renderer
But it doesn't build the setup.py wheel properly on Windows and fails.
EDIT2: No mmcv-full==1.2.0+torch1.7.0+cu101 for Windows
Don't use any other version - very broken. Also copying mmcv-full from the binary release just throws an error about how it has no __version__.
I've noticed the main branch has been slightly changed since the binary release.

@d1ddle d1ddle changed the title ModuleNotFoundError: No module named 'neural_renderer' No mmcv-full==1.2.0+torch1.7.0+cu101 for Windows! Apr 19, 2021
@d1ddle d1ddle mentioned this issue Apr 20, 2021
@StevenLiuWen
Copy link
Collaborator

StevenLiuWen commented Apr 27, 2021

Hi, @d1ddle , in Windows the torch is 1.6, and the mmcv-full is 1.1.5, because there is no offical mmcv-full builed with torch 1.7 in Windows. See https://github.com/iPERDance/iPERCore/blob/main/setup.py#L95-L108 for more details for Windows.

@d1ddle d1ddle changed the title No mmcv-full==1.2.0+torch1.7.0+cu101 for Windows! No mmcv-full==1.2.0+torch1.7.0+cu101 for Windows Apr 28, 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

2 participants