1

I need to install tensorflow_backend.py from a specific tree in keras, ideally without updating the other keras files. This shows how to install a specific repo branch, but how can the same be done for this single file in a tree?

  • Probably not. Even if this is possible it's not a good idea to mix and match files from different revisions. Why don't you want to update the whole library? – Chris Apr 05 '19 at 02:24
  • @Chris I am experiencing the issue detailed [here](https://github.com/keras-team/keras/issues/10648) and trying to implement the proposed solution – splinterrupt Apr 05 '19 at 16:07

1 Answers1

0

No. pip installs Python packages. You need a different tool to download just one file. For a remote git repository git archive is a good tool. For a remote web interface use curl or wget.

phd
  • 57,284
  • 10
  • 68
  • 103