Open kaixin-bai opened 1 year ago
Problem solved by changing self.const_val["indexed_vertex_id"] = vertex_id[anchor_padding_mask == 1]
to self.const_val["indexed_vertex_id"] = vertex_id.to('cpu')[anchor_padding_mask.to('cpu') == 1]
on geo_optimizer.py line 141
while running
python3 scripts/run_demo.py --gpu 0 --init_ckpt CPF_checkpoints/picr/fhb/checkpoint_200.pth.tar --honet_mano_fhb_hand
, the visualization window flashes and an error occurs as below.