Using TensorFlow backend.
ERROR:root:No weights found, create a new model.
G:\Software\anaconda\lib\site-packages\keras\callbacks\tensorboard_v2.py:92: UserWarning: The TensorBoard callback batch_size argument (for histogram computation) is deprecated with TensorFlow 2.0. It will be ignored.
warnings.warn('The TensorBoard callback batch_size argument '
Traceback (most recent call last):
File "C:/Users/Administrator/Desktop/kgcar/bi-lstm-crf-master/examples/train_example.py", line 73, in
X_train, Y_train, X_valid, Y_valid = DataLoader.load_data(h5_dataset_path, frac=0.8)
File "G:\Software\anaconda\lib\site-packages\dl_segmenter\data_loader.py", line 71, in load_data
with h5py.File(h5_file_path, 'r') as dfile:
File "C:\Users\Administrator\AppData\Roaming\Python\Python37\site-packages\h5py_hl\files.py", line 408, in init
swmr=swmr)
File "C:\Users\Administrator\AppData\Roaming\Python\Python37\site-packages\h5py_hl\files.py", line 173, in make_fid
fid = h5f.open(name, flags, fapl=fapl)
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\h5f.pyx", line 88, in h5py.h5f.open
OSError: Unable to open file (unable to open file: name = '../data/2014_processed.h5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)
报这个错误,请问版主知道是什么问题吗?
Using TensorFlow backend. ERROR:root:No weights found, create a new model. G:\Software\anaconda\lib\site-packages\keras\callbacks\tensorboard_v2.py:92: UserWarning: The TensorBoard callback
X_train, Y_train, X_valid, Y_valid = DataLoader.load_data(h5_dataset_path, frac=0.8)
File "G:\Software\anaconda\lib\site-packages\dl_segmenter\data_loader.py", line 71, in load_data
with h5py.File(h5_file_path, 'r') as dfile:
File "C:\Users\Administrator\AppData\Roaming\Python\Python37\site-packages\h5py_hl\files.py", line 408, in init
swmr=swmr)
File "C:\Users\Administrator\AppData\Roaming\Python\Python37\site-packages\h5py_hl\files.py", line 173, in make_fid
fid = h5f.open(name, flags, fapl=fapl)
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\h5f.pyx", line 88, in h5py.h5f.open
OSError: Unable to open file (unable to open file: name = '../data/2014_processed.h5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)
报这个错误,请问版主知道是什么问题吗?
batch_size
argument (for histogram computation) is deprecated with TensorFlow 2.0. It will be ignored. warnings.warn('The TensorBoard callbackbatch_size
argument ' Traceback (most recent call last): File "C:/Users/Administrator/Desktop/kgcar/bi-lstm-crf-master/examples/train_example.py", line 73, in