Comments (8)
remove all files in /home/huangxinkai/env/impersonator/lib/python3.6/site-packages/neural_renderer-1.1.3-py3.6-linux-x86_64.egg
and other compiled files in thirdparty/neural_renderer
(recommend replacing it with a clean version), then install neural_render
again.
from impersonator.
i run "python demo_imitator.py --gpu_ids 1" on cuda9.0, torch1.1, torchvision0.3 and encountered an error:
import neural_renderer.cuda.load_textures as load_textures_cuda
ImportError: /home/huangxinkai/env/impersonator/lib/python3.6/site-packages/neural_renderer-1.1.3-py3.6-linux-x86_64.egg/neural_renderer/cuda/load_textures.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZN6caffe26detail37_typeMetaDataInstance_preallocated_29E
could you please give me a hand and solve this?thx!
from impersonator.
i run it on cuda9.2 ,windows 10, torch1.2, torchvision 0.4.1
from impersonator.
@OldChi I think cuda9.0 is ok for this project. You should make sure your pytorch cuda version(usually is selected on the pytorch website when you download pytorch) and local cuda version(could be found in /usr/local/cuda/version.txt) are same.
from impersonator.
@OldChi I think cuda9.0 is ok for this project. You should make sure your pytorch cuda version(usually is selected on the pytorch website when you download pytorch) and local cuda version(could be found in /usr/local/cuda/version.txt) are same.
thank you! my cuda version is 9.0.176
i downloaded the whl file of torchvision0.3 and torch1.1(cuda 9.0 build) on the pytorch website and installed it, but the same error appeared
from impersonator.
remove all files in
/home/huangxinkai/env/impersonator/lib/python3.6/site-packages/neural_renderer-1.1.3-py3.6-linux-x86_64.egg
and other compiled files inthirdparty/neural_renderer
(recommend replacing it with a clean version), then installneural_render
again.
thank you very much! now i'm running the imitator successfully. you guys have really done a cool job. bravo!!
here's a little question:
i want to run some customs examples using imitator. and i wonder if there are some constraints on my reference pictures, for example, the image size? the character's position in the image? the character's background? how could i modify the reference pictures or the codes so that i could get good results as you guys did?
thanks again
from impersonator.
remove all files in
/home/huangxinkai/env/impersonator/lib/python3.6/site-packages/neural_renderer-1.1.3-py3.6-linux-x86_64.egg
and other compiled files inthirdparty/neural_renderer
(recommend replacing it with a clean version), then installneural_render
again.
excuse me. i've converted my own video file into 5445443 images and i used run_imitator.py to swap the man inside my video. but an error occured. what should i do to run it successfully.
Traceback (most recent call last):
File "run_imitator.py", line 225, in
adaptive_personalize(test_opt, imitator, visualizer)
File "run_imitator.py", line 203, in adaptive_personalize
imitator.personalize(opt.src_path, visualizer=None)
File "/home/huangxinkai/env/impersonator/lib/python3.6/site-packages/torch/autograd/grad_mode.py", line 43, in decorate_no_grad
return func(*args, **kwargs)
File "/home/huangxinkai/project/impersonator/models/imitator.py", line 125, in personalize
src_info['bg'] = self.bgnet(img, masks=body_mask, only_x=True)
File "/home/huangxinkai/env/impersonator/lib/python3.6/site-packages/torch/nn/modules/module.py", line 493, in call
result = self.forward(*input, **kwargs)
File "/home/huangxinkai/project/impersonator/networks/inpaintor.py", line 180, in forward
masked_imgs = imgs * (1 - masks) + masks
RuntimeError: The size of tensor a (256) must match the size of tensor b (257) at non-singleton dimension 3
If you suspect this is an IPython bug, please report it at:
https://github.com/ipython/ipython/issues
or send an email to the mailing list at [email protected]
You can print a more detailed traceback right now with "%tb", or use "%debug"
to interactively debug it.
Extra-detailed tracebacks for bug-reporting purposes can be enabled via:
%config Application.verbose_crash=True
from impersonator.
thirdparty/neural_renderer
I did not find the thirdparty/neural_renderer directory, pip uninstall neural_renderer_pytorch and then re-execute pip install neural_renderer_pytorch, sh scripts/run_car.sh and still report errors. What should I do?
from impersonator.
Related Issues (20)
- Segmentation Fault HOT 10
- Get worse result adding Place2 for background training?
- No output videos
- I run it on win10 successfully, but it always use cpu not GPU HOT 2
- pytorch 和 torchvision 版本对应问题 HOT 13
- How can I get the video when run run_imitator.py HOT 1
- Running impersonator.ipynb in Google Colab HOT 2
- samples.zip file not found HOT 3
- AttributeError: module 'neural_renderer' has no attribute 'rasterize_face_index_map_and_weight_map' HOT 3
- RuntimeError while Training on Custom Dataset HOT 1
- create smpls for custom dataset
- HTTP too many requests error occurring everytime
- I can not donwload the dataset. HOT 2
- How could you get the camera parameter for mixamo smpls
- can not find pretrains. zip HOT 1
- Do you need "images_HD.tar.gz"? The file is huge, In addition, Baidu Cloud did not release
- where can i download the simples.zip,the link is failure "https://pan.baidu.com/s/1xAI96709Gvqahq9uYAEXYA" HOT 1
- Pair list for Fashionvideo dataset
- RuntimeError: Error compiling objects for extension
- ModuleNotFoundError: No module named 'neural_renderer'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from impersonator.