wenhu commited on
Commit
58a5cc2
·
verified ·
1 Parent(s): 787eee5

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +0 -1
README.md CHANGED
@@ -87,7 +87,6 @@ tgt_output = model(tgt=inputs)["tgt_reps"]
87
  print(string, '=', model.compute_similarity(qry_output, tgt_output))
88
 
89
  # Text -> Image
90
-
91
  inputs = processor('Find me an everyday image that matches the given caption: A cat and a dog.',)
92
  inputs = {key: value.to('cuda') for key, value in inputs.items()}
93
  qry_output = model(qry=inputs)["qry_reps"]
 
87
  print(string, '=', model.compute_similarity(qry_output, tgt_output))
88
 
89
  # Text -> Image
 
90
  inputs = processor('Find me an everyday image that matches the given caption: A cat and a dog.',)
91
  inputs = {key: value.to('cuda') for key, value in inputs.items()}
92
  qry_output = model(qry=inputs)["qry_reps"]