vsubhashini / noc Goto Github PK
View Code? Open in Web Editor NEWNovel Object Captioner - Captioning Images with diverse objects
License: Other
Novel Object Captioner - Captioning Images with diverse objects
License: Other
hi
I want to reproduce your experiment,in the code to generate .h5 file
POOLFEAT_FILE_PATTERN = 'data/coco2014/coco2014_{0}vgg_fc7.txt'
SENTS_FILE_PATTERN = 'data/coco2014/sents/coco_sentences{0}tokens.txt'
LABEL_FILE_PATTERN = 'data/coco2014/sents/labels_glove72k{0}.txt' #train2014
IMAGEID_FILE_PATTERN = 'data/coco2014/cvpr17_rm8newobjs/coco_rm8newobjs_image_list_{0}.txt'
i want to know how can i get these handled documents like coco2014_{0}_vgg_fc7.txt?
I am a beginner,I am so sorry to take up your time. Can you tell me how to reproduce your experiment?
thank you!
Computing features for images 0-9 of 10
Traceback (most recent call last):
File "noc_captioner.py", line 569, in <module>
main()
File "noc_captioner.py", line 553, in main
strategies=STRATEGIES, display_vocab=vocab_list)
File "noc_captioner.py", line 286, in run_pred_iters
run_pred_iter(pred_net, image_fc7, display_vocab, strategies=strategies)
File "noc_captioner.py", line 199, in run_pred_iter
captions, probs = predict_image_caption(net, mean_pool_fc7, vocab_list, strategy=strategy)
File "noc_captioner.py", line 97, in predict_image_caption
return predict_image_caption_beam_search(net, mean_pool_fc7, vocab_list, strategy)
File "noc_captioner.py", line 174, in predict_image_caption_beam_search
assert probs.shape[0] == len(vocab_list)
AssertionError
I find "caption-eval" on your homepage, but I still have no idea of evaluate the F1-score. I'm appreciated it if you can provide the code or something can help.
I'm sorry to bother you, but I'm really confused about this.
As I'm trying to run the noc_captioner.py, there is an error:
Setting up CNN... Traceback (most recent call last): File "noc_captioner.py", line 571, in <module> main() File "noc_captioner.py", line 511, in main feature_extractor = FeatureExtractor(args.vggmodel, VGG_NET_FILE, DEVICE_ID) NameError: global name 'FeatureExtractor' is not defined
Am I lost something necessary for the captioner? How can I fix it? I really appreciate if you can help me.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.