-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What am I doing wrong? #14
Comments
same error here. |
it happens, if you use the --rapid or --native flags, if you specify the models -s / -e manually, it works. |
I'm having the same issue, although the above workaround works for me too. |
What did you specify after the -s / -e flags? I'm trying to use the --rapid read start model, but I got the same error. Thank you! |
|
I downloaded the rapid read model from this repo and then gave the path to that. Alternatively, the pull request that's waiting to be merged fixes things so that |
For anyone finding this thread: You can make a small change in deepbinner.py by yourself, explained here: eclarke@00e9ff9 . |
Hello, after installing Deepbinner:
.......
usr@pandora:/test/Deepbinner/models$ deepbinner classify -s SQK-RBK004_read_starts input
Using TensorFlow backend.
Loading SQK-RBK004_read_starts... done
Error: input is neither a file nor a directory
.......
Another try:
usr@pandora:/albacore/gridion/basecalled/01010102/GA10000$ deepbinner classify --rapid /albacore/gridion/basecalled/01010102/GA10000/reads/0/ > classifications
Using TensorFlow backend.
2018-11-09 15:13:00.956983: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
Loading /usr/local/lib/python3.6/site-packages/deepbinner/models/SQK-RBK004_read_starts... Traceback (most recent call last):
File "/usr/local/bin/deepbinner", line 11, in
sys.exit(main())
File "/usr/local/lib/python3.6/site-packages/deepbinner/deepbinner.py", line 60, in main
classify(args)
File "/usr/local/lib/python3.6/site-packages/deepbinner/classify.py", line 36, in classify
load_and_check_models(args.start_model, args.end_model, args.scan_size)
File "/usr/local/lib/python3.6/site-packages/deepbinner/classify.py", line 66, in load_and_check_models
out_dest=out_dest)
File "/usr/local/lib/python3.6/site-packages/deepbinner/classify.py", line 90, in load_trained_model
model = load_model(model_file)
File "/usr/local/lib/python3.6/site-packages/keras/engine/saving.py", line 417, in load_model
f = h5dict(filepath, 'r')
File "/usr/local/lib/python3.6/site-packages/keras/utils/io_utils.py", line 197, in init
'Received: {}.'.format(type(path)))
TypeError: Required Group, str or dict. Received: <class 'pathlib.PosixPath'>.
..................................
Thank's in advance ......
The text was updated successfully, but these errors were encountered: