我正在尝试运行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?给出的解决方案,但没有成功。
我在Windows7英特尔i3 CPU 64位计算机上运行此程序。
如何进行适当的设置以使代码运行?
发布于 2019-05-29 18:36:04
它不会抛出任何错误。所以我猜脚本没有找到训练数据集。请尝试下载数据集,然后再次尝试运行它。
bash download_dataset.sh facades
python pix2pix.pyhttps://stackoverflow.com/questions/56357209
复制相似问题