kwanY commited on
Commit
319bd35
·
verified ·
1 Parent(s): 4ad8d62

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -42,7 +42,7 @@ inputs = processor(images=img, return_tensors="pt").to(device)
42
 
43
  with torch.no_grad():
44
  emb = model.get_image_features(**inputs)
45
- emb = emb / emb.norm(dim=-1, keepdim=True) # optional but recommended
46
  ```
47
 
48
  #### Open for non-commercial research. Do not use FFHQ for biometric human recognition
 
42
 
43
  with torch.no_grad():
44
  emb = model.get_image_features(**inputs)
45
+ emb = emb / emb.norm(dim=-1, keepdim=True)
46
  ```
47
 
48
  #### Open for non-commercial research. Do not use FFHQ for biometric human recognition