ml-research / ml-research/SLASH

Erro running VQA experiments

Open
#1 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
18
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Hi,

I encountered the following issue when I ran the train.sh file under src/experiments/vqa/ :

Traceback (most recent call last):
  File "train.py", line 24, in <module>
    from dataGen import VQA
  File "/home/nesl/Documents/SLASH-CE/src/experiments/vqa/dataGen.py", line 9, in <module>
    from trainer import ClauseNTrainer  # the class for training, testing, etc.
  File "/home/nesl/Documents/SLASH-CE/src/experiments/vqa/trainer.py", line 30, in <module>
    from query_lib import QueryManager
  File "/home/nesl/Documents/SLASH-CE/src/experiments/vqa/query_lib.py", line 13, in <module>
    from transformers import DetailTransformer, SimpleTransformer
ModuleNotFoundError: No module named 'transformers'

I'm not sure where the transformer module is coming from.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with src/experiments/vqa/train.sh, then follow the imports through train.py, dataGen.py, trainer.py, and query_lib.py to identify how the missing module is expected to be provided. Check the project's documented environment or dependency setup, and consider the issue addressed when the VQA training command gets past the transformers import without this error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.