You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-6Lines changed: 4 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,8 @@ It seems they successfully applied the Rank-1 editing technique from a <a href="
14
14
15
15
- Yoad Tewel for the multiple code reviews and clarifying emails
16
16
17
+
- <ahref="https://github.com/BradVidler">Brad Vidler</a> for precomputing the covariance matrix for the CLIP used in Stable Diffusion 1.5!
18
+
17
19
- All the maintainers at <ahref="https://github.com/mlfoundations/open_clip">OpenClip</a>, for their SOTA open sourced contrastive learning text-image models
18
20
19
21
## Install
@@ -33,17 +35,13 @@ from perfusion_pytorch import Rank1EditModule
assertexists(covariance_filepath), f'{default_model} not found in the list of precomputed covariances {tuple(COVARIANCE_FILENAME_BY_TEXT_IMAGE_MODEL.keys())}'
198
+
199
+
C=torch.load(str(covariance_filepath))
200
+
print(f'precomputed covariance loaded from {str(covariance_filepath)}')
0 commit comments