chenhsuanlin / photometric-mesh-optim

Photometric Mesh Optimization for Video-Aligned 3D Object Reconstruction :globe_with_meridians: (CVPR 2019)
MIT License
208 stars 25 forks source link

result type Byte can't be cast to the desired output type Bool #10

Open yakovdom opened 3 years ago

yakovdom commented 3 years ago

https://github.com/chenhsuanlin/photometric-mesh-optim/blob/0fa3d50f4e9e11ed4fdbe18590a47e3b242ce279/model.py#L110

-> valid_mask = mask_V.byte().bool()