Closed RobinWenqian closed 6 years ago
Hi, this happens when the HDF5 file already exists. If you want to create it again, you need to delete the old file. Let me know if this fixes it.
Thank you for your quick reply. I will have a try. And where I can find the HDF5 file if I want to delete it?
You will find it/them in the output folder location you specified here.
Thank you so much for your patient reply. I will have a try and give you a feedback.
I have fixed it and know why I initially can not create input files. I don not know when the two caption files show in the target route. They may be downloaded from the link in the Readme.md
Thank you so much and if there are other questions I will get to you.
sorry sir when i run creat_input_files.py it show me this:
Reading TRAIN images and captions, storing to file...
24%|███████████████████████████████▊ | 27324/113287 [04:11<13:12, 108.54it/s]
Traceback (most recent call last):
File "create_input_files.py", line 11, in
how to solve this problem? why? and i saw my output_folder,it already have TRAIN_IMAGES_coco_5_cap_per_img_5_min_word_freq.hdf5 and WORDMAP_coco_5_cap_per_img_5_min_word_freq.json
thank you sir!
Thank you for your effort to complete the code. When I ran the code 'create_input_files.py' I met some problems which shows in the picture: I have not met the problem like this.Could you give me some advice on how to fix it in your convenient time?