Skip to content

uvulab/VQA_Pytorch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VQA_Pytorch

Install the followin libraries

  • conda install pytorch==1.2.0 torchvision==0.4.0 cudatoolkit=10.0 -c pytorch
  • pip install spacy
    • After the instalation of spacy, run: python -m spacy download en
  • pip install torchtext==0.2.3
  • pip install -U scikit-learn

Code Locations

  • run_model.py runs a toy example
  • model.py contains our models
  • load_dataset.py loads the dataset with our format

Project

  • See the dataset folder for our format
project
│   README.md
│   run_model.py 
|   model.py
|   load_dataset.py
│
└───data
│   │
│   └───simple_images
│       │   answers.txt
│       │  
│       └───questions
│       │   test_questions.json
|       |   train_questions.json
│       │  
|       └───train
|       |   _annotations.txt
|       |   _classes.txt
|       |   img1.png
|       |   img2.png
|       |   ...
│       │  
|       └───valid
|       |   _annotations.txt
|       |   _classes.txt
|       |   img7.png
|       |   img8.png
|       |   ...
│   
└───models
    │   model_1.pth

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages