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

ModuleNotFoundError: No module named 'capslayer.data.datasets.stanford_drone' #38

Open
akorez opened this issue Feb 2, 2019 · 2 comments

Comments

@akorez
Copy link

akorez commented Feb 2, 2019

Hi, I created the datareader and datawriter according to my own dataset by following the tutorials.
I made the necessary changes to config.py and main.py files. But I get an error as mentioned in the title.
How can I create my own module similar to the cifar10 module? Please, help me! Thanks...

@naturomics
Copy link
Owner

python can not find your dataloader, you should import your module to this init.py file

@akorez
Copy link
Author

akorez commented Feb 5, 2019

I added my own module into the init.py file. Here's the code. I still get the same error.

from future import absolute_import
from future import division
from future import print_function

from . import mnist
from . import fashion_mnist
from . import cifar10
from . import cifar100
from . import stanford_drone

all = ['mnist', 'fashion_mnist', 'cifar10', 'cifar100','stanford_drone']

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