Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: cannot import name 'datasets' #1

Closed
littlejerry411 opened this issue Aug 26, 2020 · 1 comment
Closed

ImportError: cannot import name 'datasets' #1

littlejerry411 opened this issue Aug 26, 2020 · 1 comment

Comments

@littlejerry411
Copy link

when I run 'python tools/train_net.py --config-file configs/cuhkpedes/bilstm_r50_seg.yaml', The following errors occurred:
Traceback (most recent call last):
File "tools/train_net.py", line 23, in
from vitaa.data import make_data_loader
File "./vitaa/data/init.py", line 2, in
from .build import make_data_loader
File "./vitaa/data/build.py", line 7, in
from . import datasets as D
ImportError: cannot import name 'datasets'
According to these problems, I can't find datasets in "./vitaa/data"
How to solve this problem?

@Jarr0d
Copy link
Owner

Jarr0d commented Aug 27, 2020

We want to ignore the ./dataset file, but the command in .gitignore accidentally ignore the ./vitaa/data/dataset.
The bug has been fixed. Thanks for your patience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants