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.

No module named 'refTools'

See original GitHub issue

Hi I am trying to reproduce the results from inside a docker container. After installing the dependencies I hit the following error:

  File "Pretrain.py", line 30, in <module>
    from dataset import create_dataset, create_sampler, create_loader
  File "/workspace/dataset/__init__.py", line 6, in <module>
    from dataset.caption_dataset import re_train_dataset, re_eval_dataset, pretrain_dataset
  File "/workspace/dataset/caption_dataset.py", line 12, in <module>
    from dataset.utils import pre_caption
  File "/workspace/dataset/utils.py", line 45, in <module>
    from refTools.evaluation.refEvaluation import RefEvaluation
ModuleNotFoundError: No module named 'refTools'

every time when running:

python -m torch.distributed.launch --nproc_per_node=8 \ --use_env Pretrain.py \ --config ./configs/Pretrain.yaml \ --output_dir output/pretrain

I have tried pip3 install reftools but it does not solve the issue. Have you run into this issue before?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
viyjycommented, Mar 16, 2022

Please only download MSCOCO 2014 datasets from these links. 2014 Train images [83K/13GB] 2014 Val images [41K/6GB] 2014 Test images [41K/6GB]

0reactions
PeterDykascommented, Mar 16, 2022

Awesome thanks, I see that you listed MSCOCO 2014 as a dataset but I am going to assume it means the MSCOCO 2015 where the captioning competition was.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ModuleNotFoundError: No module named 'reftools'
Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'reftools' How to remove the ModuleNot.
Read more >
ModuleNotFoundError: No module named 'tools.train_utils' #7
Hi, I have checked the quick demo steps in several machines and doesn't find any problems. Please check your steps and make true...
Read more >
reftools - PyPI
Set of tools used to support creation of calibration reference files for Hubble Space Telescope (HST). Project details. Project links. Homepage. Statistics.
Read more >
ModuleNotFoundError: No module named 'tool' - Stack Overflow
If you have multiple python installations, make sure you are installing the package for the correct python version.
Read more >
[Guile-commits] GNU Guile branch, stable-2.0 ... - GNU mailing lists
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing...
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