hd5的关闭报错,文件报错等

h5就是快

ValueError: The file ‘a_stock_100.h5’ is already opened, but not in read-only mode (as requested).
Closing remaining open files:a_stock_100.h5…done

在这里插入图片描述

在这里插入图片描述

在这里插入图片描述

已标记关键词 清除标记
相关推荐
<div><p>I am working with a dataset from my university and trying to verify the disaggregation with active and apparant power using Combinatorial Optimisation.</p> <p>However, it shows ValueError: sequence too large; cannot be greater than 32. Here is the full error. It seems like the training works.</p> <pre><code>pytb Training model for submeter 'ElecMeter(instance=93, building=1, dataset='BLOND', appliances=[Appliance(type='mobile phone charger', instance=19), Appliance(type='laptop computer', instance=30)])' Done training! Loading data for meter ElecMeterID(instance=3, building=1, dataset='BLOND') Done loading data all meters for this chunk. Traceback (most recent call last): File "test.py", line 275, in <module> co_alt() File "test.py", line 182, in co_alt co.disaggregate(elec.mains(), output) File "C:\Users\Jonas\AppData\Local\conda\conda\envs\nilmtk-env\lib\site-packages\nilmtk\disaggregate\combinatorial_optimisation.py", line 158, in disaggregate appliance_powers = self.disaggregate_chunk(chunk) File "C:\Users\Jonas\AppData\Local\conda\conda\envs\nilmtk-env\lib\site-packages\nilmtk\disaggregate\combinatorial_optimisation.py", line 217, in disaggregate_chunk self._set_state_combinations_if_necessary() File "C:\Users\Jonas\AppData\Local\conda\conda\envs\nilmtk-env\lib\site-packages\nilmtk\disaggregate\combinatorial_optimisation.py", line 122, in _set_state_combinations_if_necessary self.state_combinations = cartesian(centroids) File `"C:\Users\Jonas\AppData\Local\conda\conda\envs\nilmtk-env\lib\site-packages\sklearn\utils\extmath.py",` line 488, in cartesian ix = np.indices(shape) File "C:\Users\Jonas\AppData\Local\conda\conda\envs\nilmtk-env\lib\site-packages\numpy\core\numeric.py", line 2094, in indices res = empty((N,)+dimensions, dtype=dtype) ValueError: sequence too large; cannot be greater than 32 Closing remaining open files:disagg_sum_co.h5...doneconverted_sum.hdf5...done </module></code></pre> <p>EDIT (by ): formatting</p><p>该提问来源于开源项目:nilmtk/nilmtk</p></div>
©️2020 CSDN 皮肤主题: 鲸 设计师:meimeiellie 返回首页