SamsungLabs / NeuralHaircut

Neural Haircut: Prior-Guided Strand-Based Hair Reconstruction. ICCV 2023
Other
538 stars 48 forks source link

ValueError: need at least one array to stack #5

Closed carlosedubarreto closed 1 year ago

carlosedubarreto commented 1 year ago

Now I'm receiving this error and now I really don know what to do.

image

BlakeXYZ commented 1 year ago

Sorry I can't help, I haven't dug into the program yet

Unrelated to your issue.. Do you have an idea where others would be interested in chatting + working through the Reconstruction Steps/troubleshooting? Some discord or slack channel?

carlosedubarreto commented 1 year ago

Sorry I can't help, I haven't dug into the program yet

Unrelated to your issue.. Do you have an idea where others would be interested in chatting + working through the Reconstruction Steps/troubleshooting? Some discord or slack channel?

Sorry @BlakeXYZ , i don't know about a place like this one you said.

I usually chat about these topics on the issues page, or when available, thendiscussion oage of the repo.

Thats usually better fornother people to find solutions to problems they are having.

Slack or discord tand to be good to solve things in realtime but become a nightmare to reall all the messages people exchange, IMHO

Vanessik commented 1 year ago

I think that changing the file extension from '.png' to '.npy' would help (line 343)

self.variance_lis = sorted(glob(os.path.join(self.data_dir, 'confidence_maps','*.png')))

carlosedubarreto commented 1 year ago

thanks a lot @Vanessik . I fixed on problem for me and made a new one. You are totally right. changing that information, the code started working.