ZhangYuanhan-AI / CelebA-Spoof

[ECCV2020] A Large-Scale Face Anti-Spoofing Dataset
531 stars 92 forks source link

Depth maps #24

Closed shlokk closed 3 years ago

shlokk commented 3 years ago

Can you share the depth map for the CelebA-spoof dataset? We have been trying to calculate depth map using PRNet but it is extremely slow and taking a lot of time. It would be a great help if you can share the depth maps or if you have faster code to calculate the depth maps from the images. Thanks

NingCY commented 3 years ago

@Davidzhangyuanhan 您好,我尝试PRNet生成深度图的时候速度十分慢,查了一下发现是PRNet预测出来的顶点做插值,也就是调用scipy.interpolate.griddata的时候浪费了时间,几乎一张图要1-2s,处理CelebA-spoof这种数量级的数据时间太久了,请问您生成深度图的时候是怎么做的?有什么可以加速的建议么?

ZhangYuanhan-AI commented 3 years ago

27