Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 23131

Why am I getting a module not found error when I try to use Conv1D from Keras?

$
0
0

I want to import Conv1D from keras.layers like this:

import tensorflow.keras.convolutional.Conv1D

However, I can't solve this error:

ModuleNotFoundError: No module named 'tensorflow.keras.convolutional'

I tried updating Python, Keras, and TensorFlow to the latest version, but I still get the same error. I also tried to import it like this:

from keras.layers.convolutional import Conv1D


Viewing all articles
Browse latest Browse all 23131

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>