kerosene icon indicating copy to clipboard operation
kerosene copied to clipboard

Error

Open deep0learning opened this issue 7 years ago • 1 comments

I am getting the following error. Can you help to fix the error please?

Traceback (most recent call last): File "mnist.py", line 6, in from kerosene.datasets import mnist File "/home/DL/keras_capsn_virtual/local/lib/python2.7/site-packages/kerosene/datasets/mnist.py", line 3, in from .dataset import Dataset File "/home/DL/keras_capsn_virtual/local/lib/python2.7/site-packages/kerosene/datasets/dataset.py", line 11, in initial_fuel_config_path = fuel.config.data_path File "/home/DL/keras_capsn_virtual/local/lib/python2.7/site-packages/fuel/config_parser.py", line 150, in getattr "provided: {}.".format(key)) fuel.exceptions.ConfigurationError: Configuration not set and no default provided: data_path.

deep0learning avatar Jan 04 '18 03:01 deep0learning

import os DATASETS_FOLDER = 'datasets' if not os.path.isdir(DATASETS_FOLDER): os.mkdir(DATASETS_FOLDER) os.environ['FUEL_DATA_PATH']='./datasets/' from kerosene.datasets import mnist

heitorrapela avatar Mar 02 '18 21:03 heitorrapela