ImportError: cannot import name 'MlmDatasetForVCR' from 'data' (/media/wangxiao/Samsung_P2/UNITER/data/__init__.py)
- Dominant language
- Python
- Stars
- 799
- Forks
- 111
- PR merge metrics
- No merged PRs in 30d
Description
(UNITER) wangxiao@wx:~/Documents/UNITER$ python ./pretrain_vcr.py
Traceback (most recent call last):
File "./pretrain_vcr.py", line 27, in
from data import (TokenBucketSampler,
ImportError: cannot import name 'MlmDatasetForVCR' from 'data' (/media/wangxiao/Samsung_P2/UNITER/data/__init__.py)
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with pretrain_vcr.py:27 and inspect data/__init__.py to trace how MlmDatasetForVCR is expected to be exposed. Run python ./pretrain_vcr.py and compare the import with the available data modules. Done means the reported import error is resolved and execution proceeds beyond the import stage.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100