Traceback (most recent call last):

 "REDD_DATASET_LOAD.py", line 3, in <module>
redd.load_hdf5('/var/mfaisal1/REDD/Output/')

 "build/bdist.linux-x86_64/egg/nilmtk/dataset/dataset.py", line 172, in load_hdf5

 "/usr/local/lib/python2.7/dist-packages/pandas/io/pytables.py", line 416, in __getitem__
return self.get(key)

 "/usr/local/lib/python2.7/dist-packages/pandas/io/pytables.py", line 620, in get
return self._read_group(group)

 "/usr/local/lib/python2.7/dist-packages/pandas/io/pytables.py", line 1278, in _read_group
return s.read(**kwargs)

 "/usr/local/lib/python2.7/dist-packages/pandas/io/pytables.py", line 3827, in read
cols.set_names(names, inplace=True)

 "/usr/local/lib/python2.7/dist-packages/pandas/core/index.py", line 387, in set_names
idx._set_names(names)

 "/usr/local/lib/python2.7/dist-packages/pandas/core/index.py", line 2414, in _set_names
raise ValueError('Length of names must match length of levels')ValueError: Length of names must match length of levels
Traceback (most recent call last):



 "C:\Program 
s (x86)\Microsoft Visual Studio\Shared\Anaconda3_64\lib\site-packages\IPython\core\interactiveshell.py", line 2963, in run_code

exec(code_obj, self.user_global_ns, self.user_ns)



 "<ipython-input-14-3eccfc64dab1>", line 7, in <module>

notebook_name='handwritten_vs_printed_text_classifier')



 "C:\Program 
s (x86)\Microsoft Visual Studio\Shared\Anaconda3_64\lib\site-packages\hyperas\optim.py", line 69, in minimize

keep_temp=keep_temp)



 "C:\Program 
s (x86)\Microsoft Visual Studio\Shared\Anaconda3_64\lib\site-packages\hyperas\optim.py", line 98, in base_minimizer

model_str = get_hyperopt_model_string(model, data, functions, notebook_name, verbose, stack)



 "C:\Program 
s (x86)\Microsoft Visual Studio\Shared\Anaconda3_64\lib\site-packages\hyperas\optim.py", line 189, in get_hyperopt_model_string

imports = extract_imports(cleaned_source, verbose)



 "C:\Program 
s (x86)\Microsoft Visual Studio\Shared\Anaconda3_64\lib\site-packages\hyperas\utils.py", line 40, in extract_imports

tree = ast.parse(source)



 "C:\Program 
s (x86)\Microsoft Visual Studio\Shared\Anaconda3_64\lib\ast.py", line 35, in parse

return compile(source, filename, mode, PyCF_ONLY_AST)



 "<unknown>", line 418

img = image.load_img(,grayscale=True, target_size=(img_width, img_height))

^
SyntaxError: invalid syntax
