1adrianb / face-alignment

:fire: 2D and 3D Face alignment library build using pytorch
https://www.adrianbulat.com
BSD 3-Clause "New" or "Revised" License
6.88k stars 1.33k forks source link

get_landmarks_from_batch returns an empty list #333

Open JSHZT opened 1 year ago

JSHZT commented 1 year ago

My code is as follows:

  imgs = imgs.permute(0, 3, 1, 2)# B x C x H x W 
  landmark = self.face_algm.get_landmarks_from_batch(imgs)

The picture I used is the frame intercepted by the MEAD dataset, but it returned an empty list to me, what did I do wrong?