CapsLayer icon indicating copy to clipboard operation
CapsLayer copied to clipboard

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

Open akorez opened this issue 6 years ago • 2 comments

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...

akorez avatar Feb 02 '19 20:02 akorez

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

naturomics avatar Feb 05 '19 13:02 naturomics

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']

akorez avatar Feb 05 '19 18:02 akorez