我正在尝试运行Tensorflow的Pix2Pix教程。为此,我使用了官方的docker容器。下面是我启动容器的方式:
docker run --gpus all -it -p 8888:8888 --rm -v $PWD:/tf -w /tmp tensorflow/tensorflow:latest-gpu-py3-jupyter我不能通过这个牢房
generator = Generator()
tf.keras.utils.plot_model(generator, show_shapes=True, dpi=64)
# output -> Failed to import pydot. You must install pydot and graphviz for `pydotprint` to work.我也尝试过使用pip和apt-get安装pydot和graphviz。即使安装了这个库,我也会得到相同的错误。
https://stackoverflow.com/questions/60418201
复制相似问题