运行tensorflow的object_detection_model(下载模型出错)

running the object_detection_model of tensorflow ( error by downloading the model)

我用的是Windows10,想用tensorflow做物体检测。我在 jupyter Notebook 中遇到 运行 Tensorflow object_detection_tutorial 的问题。我安装了所有必要的软件包,并使用 3.4 版进行了 Portbuf 编译。我在下载模型时遇到了麻烦:

File "<ipython-input-5-afc84e8d6c88>", line 6
    file_name = os.path.basename(file.name)
            ^
IndentationError: expected an indented block

问题现已解决。我所做的是下载神经元网络模型,将其解压缩并添加本地路径(没有 url 地址)。这是一个代理问题。

enter image description here enter image description here