codeShare commited on
Commit
a65bd9d
·
verified ·
1 Parent(s): 4165c0d

Upload fusion_t2i_CLIP_interrogator.ipynb

Browse files
Google Colab Jupyter Notebooks/fusion_t2i_CLIP_interrogator.ipynb CHANGED
@@ -133,8 +133,7 @@
133
  "prompt_strength = math.pow(10 ,log_strength-1)\n",
134
  "reference = torch.zeros(768)\n",
135
  "\n",
136
- "\n",
137
- "\n",
138
  "references = torch.load('reference_text_and_image_encodings.pt' , weights_only=False)\n",
139
  "reference = torch.add(reference, C * references[index][0].dequantize())\n",
140
  "reference = torch.add(reference, (1-C) * references[index][1].dequantize())\n",
 
133
  "prompt_strength = math.pow(10 ,log_strength-1)\n",
134
  "reference = torch.zeros(768)\n",
135
  "\n",
136
+ "%cd {home_directory + 'fusion-t2i-generator-data/' + 'reference'}\n",
 
137
  "references = torch.load('reference_text_and_image_encodings.pt' , weights_only=False)\n",
138
  "reference = torch.add(reference, C * references[index][0].dequantize())\n",
139
  "reference = torch.add(reference, (1-C) * references[index][1].dequantize())\n",