We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We are using facenet = torch.load('../Model/InceptionResNetV1_ArcFace.pt') from the shared gDrive
(model-training) C:\Users\ranji\AML-ReferenceCode\Masked_Face_Recognition\Code>python ./main_test.py Device: cpu 0%| | 0/456 [00:22<?, ?it/s] Traceback (most recent call last): File "C:\Users\ranji\AML-ReferenceCode\Masked_Face_Recognition\Code\main_test.py", line 72, in dist_threshold = evalulate(facenet, eval_loader1, eval_loader2, device) File "C:\Users\ranji\AML-ReferenceCode\Masked_Face_Recognition\Code\test.py", line 56, in evalulate dist1 = result(model,eval_loader1, device) File "C:\Users\ranji\AML-ReferenceCode\Masked_Face_Recognition\Code\test.py", line 42, in result distance = torch.norm(eval_out - eval_pait_out, dim=1) TypeError: unsupported operand type(s) for -: 'dict' and 'dict'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
We are using facenet = torch.load('../Model/InceptionResNetV1_ArcFace.pt') from the shared gDrive
(model-training) C:\Users\ranji\AML-ReferenceCode\Masked_Face_Recognition\Code>python ./main_test.py
Device: cpu
0%| | 0/456 [00:22<?, ?it/s]
Traceback (most recent call last):
File "C:\Users\ranji\AML-ReferenceCode\Masked_Face_Recognition\Code\main_test.py", line 72, in
dist_threshold = evalulate(facenet, eval_loader1, eval_loader2, device)
File "C:\Users\ranji\AML-ReferenceCode\Masked_Face_Recognition\Code\test.py", line 56, in evalulate
dist1 = result(model,eval_loader1, device)
File "C:\Users\ranji\AML-ReferenceCode\Masked_Face_Recognition\Code\test.py", line 42, in result
distance = torch.norm(eval_out - eval_pait_out, dim=1)
TypeError: unsupported operand type(s) for -: 'dict' and 'dict'
The text was updated successfully, but these errors were encountered: