-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Hello
I am super excited to test your cnn!
I created my environment as you proposed and got no issue, keras and tensorflow installed using the required versions.
( - h5py=2.10
- keras=2.4
- numpy=1.18
- python=3.8
- tensorflow=2.3)
)
Echoing the exec_path did not work
echo %CONDA_PREFIX%
gives %CONDA_PREFIX%
so I used conda env list to see where my cnn-env was:
exec_env='C:\ProgramData\Anaconda3\envs\cnn-env';
I got the data and samplingfreq prepared,
however when I ran in matlab (launched from conda):
Ripl_Proba=detect_ripples_cnn(data, fs, 'exec_env',exec_env );
I got the following isue on matlab :
any idea of what I missed?
thanks!
Error using h5>init h5py.h5 (line 41)
Python Error: AttributeError: type object 'h5py.h5.H5PYConfig' has no attribute 'reduce_cython'
Error in version> (line 17)
from . import h5 as _h5
Error in init> (line 34)
from . import version
Error in hdf5_format> (line 41)
import h5py
Error in training> (line 53)
from tensorflow.python.keras.saving import hdf5_format
Error in functional> (line 38)
from tensorflow.python.keras.engine import training as training_lib
Error in models> (line 26)
from tensorflow.python.keras.engine import functional
Error in init> (line 27)
from tensorflow.python.keras import models
Error in init> (line 47)
from tensorflow.python import keras
Error in init> (line 41)
from tensorflow.python.tools import module_util as _module_util
Error in model_class> (line 1)
import tensorflow.keras.backend as K
Error in cnn> (line 7)
import model_class
Error in _call_with_frames_removed (line 219)
Error in exec_module (line 843)
Error in _load_unlocked (line 671)
Error in _find_and_load_unlocked (line 975)
Error in _find_and_load (line 991)
Error in _gcd_import (line 1014)
Error in init>import_module (line 127)
return _bootstrap._gcd_import(name[level:], package, level)