-
Notifications
You must be signed in to change notification settings - Fork 8
Description
python scripts/prepro_labels.py --input_json Chest_Xray/data_labels.json --output_json Chest_Xray/cocotalk.json --output_h5 Chest_Xray/cocotalk
/usr/local/lib/python2.7/dist-packages/h5py/init.py:36: FutureWarning: Conversion of the second argument of issubdtype from float to np.floating is deprecated. In future, it will be treated as np.float64 == np.dtype(float).type.
from ._conv import register_converters as _register_converters
parsed input parameters:
{
"word_count_threshold": 5,
"max_length": 16,
"output_json": "Chest_Xray/cocotalk.json",
"output_h5": "Chest_Xray/cocotalk",
"input_json": "Chest_Xray/data_labels.json"
}
Traceback (most recent call last):
File "scripts/prepro_labels.py", line 196, in
main(params)
File "scripts/prepro_labels.py", line 142, in main
imgs = imgs['images']
KeyError: 'images'