问题:运行Inpaint—Anything时,pycharm中的conda环境下的tensorflow问题
2023-04-19 10:53:30.485189: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations: SSE4.1 SSE4.2 AVX AVX2 AVX_VNNI FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
分析:一直用的conda install tensorflow安装,但是我是在GPU上运行,所以一直没跑起来。
解决:先卸载conda uninstall tensorflow
,再安装GPU版本的tensorflowconda install tensorflow-gpu