在发出Tensorflow线程警告

时间:2019-05-29 09:23:53

标签: tensorflow keras deep-learning generative-adversarial-network

我正在尝试运行https://github.com/eriklindernoren/Keras-GAN/blob/master/pix2pix/pix2pix.py

python pix2pix.py

执行终止并显示以下消息

Using TensorFlow backend.
WARNING:tensorflow:From C:\Users\kulkarni\Anaconda3\lib\site-packages\tensorflow\python\framework\op_def_library.py:263: colocate_with (from tensorflow.python.framework.ops) is deprecated and will be removed in a future version.
Instructions for updating:
Colocations handled automatically by placer.
2019-05-29 14:43:23.767965: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2
2019-05-29 14:43:23.770965: I tensorflow/core/common_runtime/process_util.cc:71] Creating new thread pool with default inter op setting: 4. Tune using inter_op_parallelism_threads for best performance.

尝试了以下Why Keras model on "bare" CPU is faster?给出的解决方案,但没有运气。

我正在Windows 7 Intel i3 CPU 64位计算机上运行此程序。

如何进行适当的设置以使代码运行?

1 个答案:

答案 0 :(得分:1)

没有抛出任何错误。因此,我猜该脚本未找到训练数据集。尝试下载数据集,然后尝试再次运行。

bash download_dataset.sh facades
python pix2pix.py