junzhezhang / mesh-inversion Goto Github PK
View Code? Open in Web Editor NEW[ECCV 2022] Monocular 3D Object Reconstruction with GAN Inversion
[ECCV 2022] Monocular 3D Object Reconstruction with GAN Inversion
I built the environment as you specified and ran the command
!python run_inversion.py --name author_released --checkpoint_dir pretrained
Then I got the following error
Traceback (most recent call last):.
File "run_inversion.py", line 12, in <module
from lib.mesh_inversion import MeshInversion
File "/content/drive/MyDrive/mesh-inversion/lib/mesh_inversion.py", line 14, in
from lib.rendering.renderer import Renderer
File "/content/drive/MyDrive/mesh-inversion/lib/rendering/renderer.py", line 1, in
from kaolin.graphics.dib_renderer.rasterizer import linear_rasterizer
ModuleNotFoundError: No module named 'kaolin.graphics'.
I don't know what is causing this, do you know how to solve it?
I am using googlecolab.
Also, which file should I put the photos and other files that I want to reconstruct in 3D? It would be great if you could tell me all the file structure as well.
Thank you in advance for your help.
Hello, thank you very much for your excellent work, but when I installing kaolin, it mentioned PyTorch >=1.2, <1.5 ,but it is required in your env mentioned PyTorch=1.11 and cuda=11.3. This seems a bit contradictory. Besides, kaolin now supports 0.9 version. I wonder what version of kaolin you installed? Looking forward to your reply, thank you very much!
Thank you for great codes.
But I faced with memory error
My PC has GTX 1050ti (2Gb)
Can you answer Any idea to deal with this problem?
hi, I'm trying to reproduce results and also play around with the model, but I wasn't able to get it to run
the run_inversion.py
expects lib/external/
to exist, but it does not, the .gitignore actually ignores it completely. I tried cloning the ChamferDistancePytorch repository but it is missing distChamfer_downsample
, could you please share your version so that we could get the model working
Thanks in advanced! and thanks for sharing the pretrained model
Hello, i'm trying to run your work but i'm getting an error when i launch the run_inversion.py script.
I'm working on a system with:
conda install pytorch==1.11.0 torchvision==0.12.0 cudatoolkit==11.3.1 -c python
cd kaolin/
python setup.py build_ext --inplace
python setup.py install
pip install --no-dependencies nuscenes-devkit opencv-python-headless scikit-learn joblib pyquaternion cachetools
python -c "import kaolin; print(kaolin.__version__)"
which prints 0.1.0 after installing the missing lib 'threadpoolctl' via pippip install absl-py packaging tensorboard
run_inversion.py
script i've added a print in the for loop just to show the current loop status print(f"Image: {idx}")
Now i run the mesh_inversion.py script:
python mesh_inversion.py --name author_released --checkpoint_dir pretrained
It takes about 20-30 seconds for the error to appear after the "Image 0" print (which is done in row 38 of run_inversion.py right after the code:
idx = data['idx'][0].item()
)
Do you have any idea of what is going wrong?
Thanks in advance for your support!
Hello, thank you very much for the excellent work, I have one more question, in fact from the visualization of the paper, your method outperforms the existing methods very well, but why does IOU seem to be similar to sota method in quantitative evaluation, and why don't you try training with ground truth mask? Looking forward to hearing from you:)
Solving environment: failed
ResolvePackageNotFound:
EnvironmentNameNotFound: Could not find conda environment: mesh_inv
You can list all discoverable environments with conda info --envs
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.