GithubHelp home page GithubHelp logo

contvqa's People

Contributors

malvinanikandrou avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

magnusostertag

contvqa's Issues

RuntimeErrors for type hinting

The way the type hinting is done for data structures, e.g. for dict, leads to RuntimeErrors in python 3.8.

[PEP 484 - Type Hints](PEP 484 โ€“ Type Hints) standardizes the way of doing type hints and says: "In addition to the above, the following special constructs defined below may be used: None, Any, Union, Tuple, Callable, all ABCs and stand-ins for concrete classes exported from typing (e.g. Sequence and Dict), type variables, and type aliases."

Therefore, it can be fixed by importing the right container from typing and using it, e.g. from typing import Dict and using Dict.

ModuleNotFoundError for relative imports

E.g. when running get_dataset_statistics.py

from contvqa.common import read_json, get_vqa_v2_mc_answers, get_vqa_v2_answer_sets
ModuleNotFoundError: No module named 'contvqa'

It can be fixed by importing directly: from common import read_json.

Or do you need importing like this for the packaging?

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.