Comments (4)
I think I've foud the problem, the values ar duplicating
Now I'll try to find why
from neuralhaircut.
Found a solution changin a bit the information where it loads the images
# self.images_lis = sorted(glob_imgs(os.path.join(self.data_dir, 'image')))
self.images_lis = sorted(glob(os.path.join(self.data_dir, 'image','*.png')))
# self.masks_lis = sorted(glob_imgs(os.path.join(self.data_dir, 'mask')))
self.masks_lis = sorted(glob(os.path.join(self.data_dir, 'mask','*.png')))
load hair mask
# self.hair_masks_lis = sorted(glob_imgs(os.path.join(self.data_dir, 'hair_mask')))
self.hair_masks_lis = sorted(glob(os.path.join(self.data_dir, 'hair_mask','*.png')))
load orientations
# self.orientations_lis = sorted(glob_imgs(os.path.join(self.data_dir, 'orientation_maps')))
self.orientations_lis = sorted(glob(os.path.join(self.data_dir, 'orientation_maps','*.png')))
load variance
# self.variance_lis = sorted(glob_imgs(os.path.join(self.data_dir, 'confidence_maps')))
self.variance_lis = sorted(glob(os.path.join(self.data_dir, 'confidence_maps','*.png')))
from neuralhaircut.
Hello Carlos,
Thanks for investigating this issue! We'll take a look at it.
from neuralhaircut.
Oh I missed one thing, on the last part of the code I wrote it wrong and Vanessa corrected me.
Instead of
self.variance_lis = sorted(glob(os.path.join(self.data_dir, 'confidence_maps','*.png')))
it should be
self.variance_lis = sorted(glob(os.path.join(self.data_dir, 'confidence_maps','*.npy')))
from neuralhaircut.
Related Issues (18)
- Afro hairs, anyone ? xD HOT 1
- numpy.core._exceptions._ArrayMemoryError: Unable to allocate HOT 4
- Couldn't create the environment using .yaml HOT 2
- second stage loss HOT 9
- failing to compute hair_mask with CDGnet HOT 2
- Unable to create the enviroment in any of my devices
- Example Result HOT 1
- How does NeuralHaircut overcome the "noisy orientations map" problem in real-world data? HOT 2
- How to generate `initialization_pixie` file while executing the `multiview_optimization` HOT 1
- Unconditional random sampling from pretrained diffusion model
- Need support section for further updates...
- About strand_ckpt. pth
- Add some about section to elaborate the aim of this site....
- ValueError: need at least one array to stack HOT 4
- PIXIE initialization HOT 3
- Experiment folder cannot be crated on Windows HOT 4
- Can use own dataset? 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 neuralhaircut.