How to download previous version of tensorflow?

后端 未结 8 709
一生所求
一生所求 2020-12-08 03:12

For some reason, I want to use some previous version of tensorflow(\'tensorflow-**-.whl\', not source code on github) and where can I download the previous version and how c

8条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-08 03:34

    Find available versions (some example results shown):

    $ curl -s https://storage.googleapis.com/tensorflow |xmllint --format - |grep whl
    
    linux/gpu/tensorflow-0.8.0-cp27-none-linux_x86_64.whl
    linux/gpu/tensorflow-0.9.0-cp27-none-linux_x86_64.whl
    linux/gpu/tensorflow-0.11.0-cp27-none-linux_x86_64.whl
    linux/gpu/tensorflow-0.10.0-cp27-none-linux_x86_64.whl
    

    You can, of course, filter the results further by piping through additional instances of grep.

    Pick the version you want and install for Python with pip...

    $ TFVERSION=linux/gpu/tensorflow-0.10.0-cp27-none-linux_x86_64.whl
    $ pip install https://storage.googleapis.com/tensorflow/$(TFVERSION)
    

    Note: cp27 in the list above indicates compatibility with Python version 2.7.

提交回复
热议问题