Git Product home page Git Product logo

noc's People

Contributors

cnikolaou avatar cypof avatar darrengarvey avatar dgolden1 avatar erictzeng avatar flx42 avatar jamt9000 avatar jeffdonahue avatar jyegerlehner avatar kloudkl avatar longjon avatar lukeyeager avatar mavenlin avatar mohomran avatar mtamburrano avatar netheril96 avatar philkr avatar pluskid avatar qipeng avatar rbgirshick avatar ronghanghu avatar sergeyk avatar sguada avatar shelhamer avatar ste-m5s avatar tdomhan avatar tnarihi avatar vsubhashini avatar yangqing avatar yosinski avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

noc's Issues

I want to know how to train the model

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/coco_rm8objs_image_list_{0}.txt'

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!

AssertionError when running noc_captioner.py -i images_list.txt

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

How can I define the global name 'FeatureExtractor'?

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.