-
Notifications
You must be signed in to change notification settings - Fork 19.5k
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
Keras featurespace error in environment without TensoFlow #21009
Comments
Hi @sibyjackgrove - Thanks for reporting the issue. As you are trying to use a Keras feature space during inference as feature space, feature space define all the preprocessing once and re-use it at different stages of our system. Here you can find more details about FeatureSpace using a Keras preprocessing layer Using keras can structure the input like this:
For more help can you share your reproducible code here? |
I am trying to reload a Keras preprocessor layer. The Preprocessor layer was created with TensorFLow backend. But I am trying to reload it for inference with Numpy backend in an environment without TensorFlow. Please find the code below. I am unable to attack the model here.
|
Hi @sibyjackgrove - Thanks for reproducible code. But can you share sample model file or reproducible code generate the model ? |
@mehtamansi29 please use the .keras file in the zipped folder below. Note that the feature space was created with Tensorflow backed. |
I am trying to use a Keras feature space during inference to create a data window.
input_window= input_featurespace({'temp': [0, 0, 0, 0, 0, 0, 0, 0], 'proc': [0, 0, 0, 0, 0, 0, 0, 0], 'dsp_temp': [0, 0, 0, 0, 0, 0, 0, 0]}).
However, I am getting the following error:
I understand that this is because Tensorflow has not been installed. However, since the inference device has storage constraints, I don't want to use Tensorflow in my inference environment. Is there any way to get feature space to work with TensorFlow?
The text was updated successfully, but these errors were encountered: