nilmtk: Inquiry for error in REDD conversion process
Hi, I have installed Anaconda (Python 2.7.8) and git client on Windows 7 (Home Premium) following the instructions in its documentation and all the process passed successfully. I would like to get analyzed of REDD data set. However, when I started to convert REDD data, after the conversion of the 6th house finished, it turned error as
Loading house 6... 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
Traceback (most recent call last):
File "<pyshell#2>", line 1, in <module>
convert_redd('C:/Users/bundit/Desktop/REDD/low_freq','C:/Users/bundit/Desktop/redd.h5')
File "C:\Users\bundit\Anaconda\lib\site-packages\nilmtk-0.2.0.dev- py2.7.egg\nilmtk\dataset_converters\redd\convert_redd.py", line 57, in convert_redd hdf_filename)
File "c:\users\bundit\nilm_metadata\nilm_metadata\convert_yaml_to_hdf5.py", line 30, in convert_yaml_to_hdf5
assert isdir(yaml_dir)
AssertionError
After check if the module get_module_directory exists, it turned out error as:
>>> from nilmtk.utils import get_module_directory
Traceback (most recent call last):
File "<pyshell#2>", line 1, in <module>
from nilmtk.utils import get_module_directory
ImportError: cannot import name get_module_directory
>>> print get_module_directory()
Traceback (most recent call last):
File "<pyshell#3>", line 1, in <module>
print get_module_directory()
NameError: name 'get_module_directory' is not defined
The nilmtk module already exists in the system (No error when running >>> import nilmtk)
So, can anyone point out for cause of the error that prevent completion of the data conversion process?
Thanks. Bundit
About this issue
- Original URL
- State: closed
- Created 10 years ago
- Comments: 28 (18 by maintainers)
This error troubling me since yesterday and I found a solution. I am on windows 10 and using Spyder.
convert_redd('/data/REDD/low_freq', '/data/REDD/redd.h5')toconvert_redd('data/REDD/low_freq', 'data/REDD/redd.h5')Your program should work now.