I have always the same error message in R and no idea how to solve. I use Tensoflow 1.15, Keras 2.2 and Python 3.7.
> setwd("C:/Users/PC/Desktop/AI defect