GlassyWing / bi-lstm-crf

使用keras实现的基于Bi-LSTM + CRF的中文分词+词性标注
Apache License 2.0
374 stars 84 forks source link

为什么我的也会报错 内容 #13

Open EvenYangyufan opened 4 years ago

EvenYangyufan commented 4 years ago

File "D:/FirstGrade/python/classification/nlp/fenci/train_example.py", line 80, in X_train, Y_train, X_valid, Y_valid = DataLoader.load_data(h5_dataset_path, frac=0.9) File "D:\FirstGrade\python\classification\nlp\fenci\dl_segmenter\data_loader.py", line 72, in load_data X, Y = dfile['X'][:], dfile['Y'][:] File "h5py_objects.pyx", line 54, in h5py._objects.with_phil.wrapper File "h5py_objects.pyx", line 55, in h5py._objects.with_phil.wrapper File "E:\python3.6.4\lib\site-packages\h5py_hl\group.py", line 262, in getitem oid = h5o.open(self.id, self._e(name), lapl=self._lapl) File "h5py_objects.pyx", line 54, in h5py._objects.with_phil.wrapper File "h5py_objects.pyx", line 55, in h5py._objects.with_phil.wrapper File "h5py\h5o.pyx", line 190, in h5py.h5o.open KeyError: "Unable to open object (object 'X' doesn't exist)"