I am currently trying to run the program with Python3 on my Mac OSX. But as I run it with the .sh script, I do not seem to be getting any output. In order to investigate more, I used a simple:
python3 predict.py sample.flac
This gave me the set of errors below:
/usr/local/lib/python3.6/site-packages/h5py/__init__.py:36: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.
from ._conv import register_converters as _register_converters
Using TensorFlow backend.
Traceback (most recent call last):
File "predict.py", line 131, in <module>
model = InstrumentClassifier(args.model_dir)
File "predict.py", line 47, in __init__
self.model = load_model_from_dir(model_dir)
File "predict.py", line 44, in load_model_from_dir
model_dir + '/model_arch.yaml',
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
Could you please guide me as to the proper procedure to fix this error?
I am currently trying to run the program with
Python3on my Mac OSX. But as I run it with the.shscript, I do not seem to be getting any output. In order to investigate more, I used a simple:python3 predict.py sample.flacThis gave me the set of errors below:
Could you please guide me as to the proper procedure to fix this error?