Giter VIP home page Giter VIP logo

txh-mercury / cosa Goto Github PK

View Code? Open in Web Editor NEW
36.0 36.0 1.0 86.17 MB

Codes and Models for COSA: Concatenated Sample Pretrained Vision-Language Foundation Model

Home Page: https://arxiv.org/abs/2306.09085

License: MIT License

Python 49.69% C++ 17.00% Cuda 19.81% C 0.10% Shell 0.40% Makefile 0.02% CSS 0.05% HTML 0.02% Dockerfile 0.02% Jupyter Notebook 12.90%
video-captioning video-language-pretrainng video-qa video-retrieval vision-language-pretraining

cosa's People

Contributors

txh-mercury 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

Watchers

 avatar  avatar

Forkers

arctanbell

cosa's Issues

ERROR when running testing

Here is the information:
Traceback (most recent call last):
File "/opt/conda/lib/python3.8/runpy.py", line 185, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "/opt/conda/lib/python3.8/runpy.py", line 111, in _get_module_details
import(pkg_name)
File "COSA/env/lib/python3.8/site-packages/torch/init.py", line 527, in
class DoubleStorage(_C.DoubleStorageBase, _StorageBase):
AttributeError: module 'torch._C' has no attribute 'DoubleStorageBase'

I also tried different version of torch, got other errors

Where does the `bert-base-uncased-crossattn` come from?

Thanks for your nice work! I notice that the bert-base-uncased-crossattn in your code seem to be different from the ones everyone uses (bert-base-uncased), and I find that the weight of cross attention is in your pytorch.bin, which we usually initialize it randomly.

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.