Tensorflow: tensorflow.python.framework.errors_impl.NotFoundError (dataset_ops.so not found)

Operating Environment

Windows 10

Python3.6

Tensorflow 1.9.0

Error Codes:

tf.add_to_collection('losses', tf.contrib.layers.l2_regularizer(regularizer)(w))

Error

tensorflow.python.framework.errors_impl.NotFoundError: D:\Users\Administrator\Anaconda3\lib\site-packages\tensorflow\contrib\data\python\ops…._dataset_ops.so not found

Solution

Go to the tensorflow/contrib/data directory and delete **_dataset_ops.so**

Similar Posts: