Comments (1)
when I used "python demo_swap.py --gpu_ids 0 --batch_size 1", it reported errors,
`load face model from assets/pretrains/sphere20a_20171020.pth
step: 49; total: 3.061088; cyc: 0.145273; str: 0.061302; fid: 0.992965; msk: 0.000475: 100%|█████████████████████████████████████████████████████████| 50/50 [00:33<00:00, 1.40it/s]
Personalization: completed...
Swapping: ./assets/src_imgs/imper_A_Pose/009_5_1_000.jpg wear the clothe of ./assets/src_imgs/fashion_woman/fashionWOMENBlouses_Shirtsid0000666802_4full.jpg...
Traceback (most recent call last):
File "demo_swap.py", line 62, in
visualizer=visualizer)
File "/home/lgy/.local/lib/python3.7/site-packages/torch/autograd/grad_mode.py", line 43, in decorate_no_grad
return func(*args, **kwargs)
File "/home/lgy/PycharmProjects/impersonator/models/swapper.py", line 213, in swap
src_part_mask = (torch.sum(src_info['part'][:, selected_ids, ...], dim=1) != 0).bool()
AttributeError: 'Tensor' object has no attribute 'bool'
`
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.