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 'iopath' #9

Closed
Michaelwhite34 opened this issue Dec 17, 2020 · 4 comments
Closed

ModuleNotFoundError: No module named 'iopath' #9

Michaelwhite34 opened this issue Dec 17, 2020 · 4 comments

Comments

@Michaelwhite34
Copy link

Michaelwhite34 commented Dec 17, 2020

My system is Ubuntu 20.04 LTS.I only omit usage 1.c. I get error when I try to run "python demos/demo_reconstruct.py -i TestSamples/examples --saveDepth True --saveObj True"

The message is
Traceback (most recent call last):
File "demos/demo_reconstruct.py", line 25, in
from decalib.deca import DECA
File "/home/michael/Downloads/DECA-master/decalib/deca.py", line 27, in
from .utils.renderer import SRenderY
File "/home/michael/Downloads/DECA-master/decalib/utils/renderer.py", line 23, in
from pytorch3d.io import load_obj
File "/home/michael/anaconda3/envs/DECA/lib/python3.7/site-packages/pytorch3d/io/init.py", line 4, in
from .obj_io import load_obj, load_objs_as_meshes, save_obj
File "/home/michael/anaconda3/envs/DECA/lib/python3.7/site-packages/pytorch3d/io/obj_io.py", line 12, in
from pytorch3d.io.mtl_io import load_mtl, make_mesh_texture_atlas
File "/home/michael/anaconda3/envs/DECA/lib/python3.7/site-packages/pytorch3d/io/mtl_io.py", line 11, in
from pytorch3d.io.utils import _open_file, _read_image
File "/home/michael/anaconda3/envs/DECA/lib/python3.7/site-packages/pytorch3d/io/utils.py", line 10, in
from fvcore.common.file_io import PathManager
File "/home/michael/anaconda3/envs/DECA/lib/python3.7/site-packages/fvcore/common/file_io.py", line 10, in
from iopath.common.file_io import (
ModuleNotFoundError: No module named 'iopath'

@Michaelwhite34
Copy link
Author

Pip install fvcore solved this.

@Michaelwhite34
Copy link
Author

..fc.weight not available in reconstructed resnet
fc.bias not available in reconstructed resnet

Is that a problem?

@tommy3266
Copy link

greate

@yfeng95
Copy link
Owner

yfeng95 commented Oct 31, 2021

Pip install fvcore solved this.

Thanks for this, just added it to the requirement.

@yfeng95 yfeng95 closed this as completed Oct 31, 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