Open GDistories opened 1 week ago
output for aligned_x1.shape, orig_pred_ldmks1.shape, aligned_ldmks1.shape, score1.shape, thetas1.shape, normalized_bbox1.shape:
(torch.Size([1, 3, 112, 112]),
torch.Size([1, 5, 2]),
torch.Size([1, 5, 2]),
torch.Size([1, 1]),
torch.Size([1, 2, 3]),
torch.Size([1, 4]))
I got the same error.
It seems like the input may be None.
I have added the pairs.csv
file so you can run the example code.
Simply go to apps/verification
and run python verify.py
.
The output should be something like
index A B is_same cossim
0 0 0.jpg 1.jpg True 0.670952
1 1 2.png 3.png False -0.019673
2 2 4.png 5.png False 0.052606
Thanks for replying. I have printed out the paths and tensors, ensuring they are not None.
Still the same error!
Hi, i try to run the verify.py in your example using cvlface_adaface_vit_base_kprpe_webface4m pretrained model. However, i faced error below:
How to solve this?