JVice commited on
Commit
0f1a3cb
1 Parent(s): 6f0fdbb

Update general_bias_measurement.py

Browse files
Files changed (1) hide show
  1. general_bias_measurement.py +2 -0
general_bias_measurement.py CHANGED
@@ -1,6 +1,8 @@
1
  from itertools import chain
2
 
3
  import torch
 
 
4
  from transformers import BlipProcessor, BlipForConditionalGeneration
5
  from transformers import CLIPProcessor, CLIPModel
6
  from nltk.corpus import wordnet
 
1
  from itertools import chain
2
 
3
  import torch
4
+ import nltk
5
+ nltk.download('wordnet')
6
  from transformers import BlipProcessor, BlipForConditionalGeneration
7
  from transformers import CLIPProcessor, CLIPModel
8
  from nltk.corpus import wordnet