Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about the depth map #5

Open
taylover-pei opened this issue Nov 29, 2019 · 7 comments
Open

Question about the depth map #5

taylover-pei opened this issue Nov 29, 2019 · 7 comments

Comments

@taylover-pei
Copy link

Nice. You have done a great job. But I have a question about the depth map.

In the original paper, the values of depth map are normalized to [0:1]. But, in your code, when I printed the values of the generated depth map, I find the values are just like this:
image

How should I do?

Thank you very much. Looking forward to your reply.

@clks-wzz
Copy link
Owner

You can normalize the depth map by dividing it with 255.0.

@punitha-valli
Copy link

@clks-wzz
@roger-cv
@taylover-pei
@clks-wzz
Thanks for sharing your code,

ValueError: The passed save_path is not a valid checkpoint: E:\yzu\lab\face anti spoofing\PRNet-Depth-Generation-master\Data\net-data\256_256_resfcn256_weight

but I always get this error, even when I fixed the path with my windows, it's in the same location. But its ways the path is not valid, can you please help me in this, Thanks in advance.

@lalalanding
Copy link

Nice! How do you make the fake depth map as zero? thank you

@punitha-valli
Copy link

@lalalanding

hi,

Thank you so much for your reply,

I have done with that, now fro certain images in don't get the depth map, it shows like,

Warning: No face detected

but, still, the image has a good face,

can you please tell me how to overcome it.

I have attached some images below,

image

image

image
1_1_11_3_4
1_1_12_2_5
1_2_11_3_2
2_1_14_5_2
2_2_14_1_3

@roger-cv
Copy link

roger-cv commented Sep 1, 2020

Nice! How do you make the fake depth map as zero? thank you
Can you generate fake depth map as zero? I need your help, Thank you very much.

@22wei22
Copy link

22wei22 commented Nov 3, 2020

@lalalanding

hi,

Thank you so much for your reply,

I have done with that, now fro certain images in don't get the depth map, it shows like,

Warning: No face detected

but, still, the image has a good face,

can you please tell me how to overcome it.

I have attached some images below,

image

image

image
1_1_11_3_4
1_1_12_2_5
1_2_11_3_2
2_1_14_5_2
2_2_14_1_3

I have the same problem. Do you solve it?

@punitha-valli
Copy link

punitha-valli commented Nov 3, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants