question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

some code missing?

See original GitHub issue

python scripts/prepro_labels.py --input_json .../dataset_coco.json --output_json data/cocotalk.json --output_h5 data/cocotalk failed. Here are the errors:

Traceback (most recent call last):
  File "scripts/prepro_labels.py", line 192, in <module>
    main(params)
  File "scripts/prepro_labels.py", line 138, in main
    imgs = imgs['images']
TypeError: list indices must be integers, not str

It seems that some code is missing.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:37 (19 by maintainers)

github_iconTop GitHub Comments

1reaction
ruotianluocommented, Sep 29, 2017

Att_feats are changing over locations, hidden states are changing over time. And the output of the attention module is a weighted summation of att_feats

0reactions
ruotianluocommented, Sep 29, 2017

There are a lot of different fusion types proposed in VQA literature. You can check it out. One easiest alternative is elementwise product.

Read more comments on GitHub >

github_iconTop Results From Across the Web

something missing in the code - Codecademy
I've passed all the previous exercises, but when I test my code in exercise 2.7 I get the message “Object function () {//code...
Read more >
"Run Code" missing in some problems - LeetCode Discuss
A few problems (https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree/ for example) are missing the "run code" in all the languages I've ...
Read more >
Coding of Missing Data (UOE source): - OECD
Coding of Missing Data (UOE source):. The correct use of the missing codes is an essential condition to ensure the integrity of the...
Read more >
Quick Assist New Store App has a Bug - Some code missing
All, the new Quick Assist (Store App) bug appears to be incomplete, it works for a general session, however should the Person Assisting...
Read more >
Code Going Missing - SAS Support Communities
Often my team open the project and, while all the programs are showing, often the code is missing when you double click on...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found