I'm importing a python class stored on : pylearn2/datasets/ When I import other files on that directory says OK but when I try to import a file called make_dataset.py that I've just created says :
Could not import pylearn2.datasets.make_dataset but could import pylearn2.datasets. Original exception: No module named make_dataset
Here's the structure of the directory:
pylearn2\
__init__.py
datasets\
__init__.py
hepatitis.py
matlab_dataset.py
make_dataset.py
...
Could you explain me why I'm gettig that error? I'm also using a .yaml file:
!obj:pylearn2.train.Train {
"dataset": !obj:pylearn2.datasets.make_dataset.Classificator {}
}