-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
Hi!
I am ghaving an error that I do not understand from deeplexicon.py. The output is empty.
Could you please let me know what's going on and how to solve this issue?
Thank you!
[...]
File "h5py/_proxy.pyx", line 130, in h5py._proxy.dset_rw
File "h5py/_proxy.pyx", line 84, in h5py._proxy.H5PY_H5Dread
OSError: Can't read data (can't open directory: /usr/local/hdf5/lib/plugin)
error: extract_fast5():failed to read readID: read_896e4350-9eef-4ecc-a41e-a81f72d97076
Traceback (most recent call last):
File "deeplexicon.py", line 430, in read_multi_fast5
for col in hdf[read]['Raw/Signal'][()]:
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 "/home/csic/mgr/ogr/.local/lib/python3.7/site-packages/h5py/_hl/dataset.py", line 573, in __getitem__
self.id.read(mspace, fspace, arr, mtype, dxpl=self._dxpl)
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/h5d.pyx", line 181, in h5py.h5d.DatasetID.read
File "h5py/_proxy.pyx", line 130, in h5py._proxy.dset_rw
File "h5py/_proxy.pyx", line 84, in h5py._proxy.H5PY_H5Dread
OSError: Can't read data (can't open directory: /usr/local/hdf5/lib/plugin)
error: extract_fast5():failed to read readID: read_8999db3a-34ff-43b1-b147-3d7a39d97ab2
Traceback (most recent call last):
File "deeplexicon.py", line 430, in read_multi_fast5
for col in hdf[read]['Raw/Signal'][()]:
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 "/home/csic/mgr/ogr/.local/lib/python3.7/site-packages/h5py/_hl/dataset.py", line 573, in __getitem__
self.id.read(mspace, fspace, arr, mtype, dxpl=self._dxpl)
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/h5d.pyx", line 181, in h5py.h5d.DatasetID.read
File "h5py/_proxy.pyx", line 130, in h5py._proxy.dset_rw
File "h5py/_proxy.pyx", line 84, in h5py._proxy.H5PY_H5Dread
OSError: Can't read data (can't open directory: /usr/local/hdf5/lib/plugin)
error: extract_fast5():failed to read readID: read_89b92d60-4594-4bb0-84f0-b2f640dc0fa1
Traceback (most recent call last):
File "deeplexicon.py", line 430, in read_multi_fast5
for col in hdf[read]['Raw/Signal'][()]:
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 "/home/csic/mgr/ogr/.local/lib/python3.7/site-packages/h5py/_hl/dataset.py", line 573, in __getitem__
self.id.read(mspace, fspace, arr, mtype, dxpl=self._dxpl)
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/h5d.pyx", line 181, in h5py.h5d.DatasetID.read
File "h5py/_proxy.pyx", line 130, in h5py._proxy.dset_rw
File "h5py/_proxy.pyx", line 84, in h5py._proxy.H5PY_H5Dread
OSError: Can't read data (can't open directory: /usr/local/hdf5/lib/plugin)
error: extract_fast5():failed to read readID: read_89bb0964-9c58-4259-8164-b715dde99ebd
Traceback (most recent call last):
File "deeplexicon.py", line 430, in read_multi_fast5
for col in hdf[read]['Raw/Signal'][()]:
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 "/home/csic/mgr/ogr/.local/lib/python3.7/site-packages/h5py/_hl/dataset.py", line 573, in __getitem__
self.id.read(mspace, fspace, arr, mtype, dxpl=self._dxpl)
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/h5d.pyx", line 181, in h5py.h5d.DatasetID.read
File "h5py/_proxy.pyx", line 130, in h5py._proxy.dset_rw
File "h5py/_proxy.pyx", line 84, in h5py._proxy.H5PY_H5Dread
OSError: Can't read data (can't open directory: /usr/local/hdf5/lib/plugin)
error: extract_fast5():failed to read readID: read_89cbf87d-71e2-4f16-99f5-d65c31c52697
Traceback (most recent call last):
File "deeplexicon.py", line 430, in read_multi_fast5
for col in hdf[read]['Raw/Signal'][()]:
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 "/home/csic/mgr/ogr/.local/lib/python3.7/site-packages/h5py/_hl/dataset.py", line 573, in __getitem__
self.id.read(mspace, fspace, arr, mtype, dxpl=self._dxpl)
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/h5d.pyx", line 181, in h5py.h5d.DatasetID.read
File "h5py/_proxy.pyx", line 130, in h5py._proxy.dset_rw
File "h5py/_proxy.pyx", line 84, in h5py._proxy.H5PY_H5Dread
OSError: Can't read data (can't open directory: /usr/local/hdf5/lib/plugin)
error: extract_fast5():failed to read readID: read_89db305c-e504-4a35-b113-9cb0dd127027
Traceback (most recent call last):
File "deeplexicon.py", line 430, in read_multi_fast5
for col in hdf[read]['Raw/Signal'][()]:
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 "/home/csic/mgr/ogr/.local/lib/python3.7/site-packages/h5py/_hl/dataset.py", line 573, in __getitem__
self.id.read(mspace, fspace, arr, mtype, dxpl=self._dxpl)
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/h5d.pyx", line 181, in h5py.h5d.DatasetID.read
File "h5py/_proxy.pyx", line 130, in h5py._proxy.dset_rw
File "h5py/_proxy.pyx", line 84, in h5py._proxy.H5PY_H5Dread
OSError: Can't read data (can't open directory: /usr/local/hdf5/lib/plugin)
error: extract_fast5():failed to read readID: read_8a017ab4-16c8-460d-8f8b-c6fb3c1ebd58
Traceback (most recent call last):
^CTraceback (most recent call last):
File "deeplexicon.py", line 430, in read_multi_fast5
for col in hdf[read]['Raw/Signal'][()]:
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 "/home/csic/mgr/ogr/.local/lib/python3.7/site-packages/h5py/_hl/dataset.py", line 573, in __getitem__
self.id.read(mspace, fspace, arr, mtype, dxpl=self._dxpl)
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/h5d.pyx", line 181, in h5py.h5d.DatasetID.read
File "h5py/_proxy.pyx", line 130, in h5py._proxy.dset_rw
File "h5py/_proxy.pyx", line 84, in h5py._proxy.H5PY_H5Dread
OSError: Can't read data (can't open directory: /usr/local/hdf5/lib/plugin)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "deeplexicon.py", line 622, in <module>
main()
File "deeplexicon.py", line 278, in main
seg_signal = get_multi_fast5_signal(fast5_file, window, squig_file, seg_file)
File "deeplexicon.py", line 357, in get_multi_fast5_signal
f5_dic = read_multi_fast5(read_filename)
File "deeplexicon.py", line 439, in read_multi_fast5
traceback.print_exc()
File "/mnt/netapp1/Optcesga_FT2_RHEL7/2020/gentoo/22072020/usr/lib/python3.7/traceback.py", line 163, in print_exc
print_exception(*sys.exc_info(), limit=limit, file=file, chain=chain)
File "/mnt/netapp1/Optcesga_FT2_RHEL7/2020/gentoo/22072020/usr/lib/python3.7/traceback.py", line 104, in print_exception
type(value), value, tb, limit=limit).format(chain=chain):
File "/mnt/netapp1/Optcesga_FT2_RHEL7/2020/gentoo/22072020/usr/lib/python3.7/traceback.py", line 610, in format
yield from self.stack.format()
File "/mnt/netapp1/Optcesga_FT2_RHEL7/2020/gentoo/22072020/usr/lib/python3.7/traceback.py", line 421, in format
frame.filename, frame.lineno, frame.name))
[...]
info: reading sig_count: 3994/4000
info: dRNA_segmenter: no seg found:
info: reading sig_count: 3995/4000
info: dRNA_segmenter: no seg found:
info: reading sig_count: 3996/4000
info: dRNA_segmenter: no seg found:
info: reading sig_count: 3997/4000
info: dRNA_segmenter: no seg found:
info: reading sig_count: 3998/4000
info: dRNA_segmenter: no seg found:
info: reading sig_count: 3999/4000
info: dRNA_segmenter: no seg found:
info: reading sig_count: 4000/4000
info: dRNA_segmenter: no seg found:
Traceback (most recent call last):
File "deeplexicon.py", line 622, in <module>
main()
File "deeplexicon.py", line 304, in main
C = classify(model, labels, np.array(images), False, args.threshold)
File "deeplexicon.py", line 611, in classify
y = model.predict(x, verbose=0)
File "/home/csic/mgr/ogr/.local/lib/python3.7/site-packages/keras/engine/training.py", line 1149, in predict
x, _, _ = self._standardize_user_data(x)
File "/home/csic/mgr/ogr/.local/lib/python3.7/site-packages/keras/engine/training.py", line 751, in _standardize_user_data
exception_prefix='input')
File "/home/csic/mgr/ogr/.local/lib/python3.7/site-packages/keras/engine/training_utils.py", line 128, in standardize_input_data
'with shape ' + str(data_shape))
ValueError: Error when checking input: expected input_1 to have 4 dimensions, but got array with shape (0, 1)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels