Comments (2)
Hello there, I guess there's something wrong with that image.
Could you change the line here to this:
try:
uv_texture, uv_seg = generator.get_texture(image, seg)
except:
print('Something wrong with: ', list_imgs[i])
And we'll look at that image later.
I've faced that issues before, it turned out that there's no faces in the images; Or dlib couldn't detect any faces.
from cpm.
Hi again,
If there's something wrong with the images (no face, degraded, corrupted images, etc.), then I can't help.
Else, dlib couldn't detect any faces (very few cases)
Please handle these images by passing face's bounding boxes manually (Find more information here)
I'm closing this issue and hope you can run the code smoothly!
from cpm.
Related Issues (20)
- How to perform partial makeup transfer HOT 2
- how to render uv map to normal image? HOT 2
- Setup throwing error HOT 3
- the code is too bad! waste my time!!! HOT 1
- It work so bad!!!!!!!!! HOT 1
- ValueError: The passed save_path is not a valid checkpoint: ./PRNet/net-data/256_256_resfcn256_weight HOT 2
- Suggest to loosen the dependency on albumentations HOT 2
- Training on new dataset HOT 3
- I directly input the UV texture image, how should I modify the code? HOT 5
- AttributeError: module 'segmentation_models_pytorch' has no attribute 'utils' HOT 1
- About the MT dataset HOT 2
- No module named 'blend_modes
- MT dataset HOT 1
- image-invariant region mask HOT 1
- No module named 'segmentation_models_pytorch.unet'
- No module named 'blend_modes'
- The corresponding package cannot be installed in colab and locally, because of the mac device? HOT 1
- Part of the face changes? HOT 1
- The performance of the code can not match the picture in README HOT 4
- RuntimeError: Unsupported image type, must be 8bit gray or RGB image. HOT 2
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 cpm.