2
0

mxnet-update 634 B

123456789101112131415161718192021222324252627
  1. #!/bin/bash
  2. set -e
  3. root=$(cd $(dirname ${0})/..; pwd)
  4. src=${root}/src
  5. tools=${root}/tools
  6. third_party=${root}/third_party
  7. python=${python:-python}
  8. pip=${pip:-pip}
  9. identifier=mxnet
  10. repository=https://github.com/apache/incubator-${identifier}.git
  11. mkdir -p ${third_party}
  12. if [ -d "${third_party}/${identifier}" ]; then
  13. git -C "${third_party}/${identifier}" fetch -p
  14. git -C "${third_party}/${identifier}" reset --hard origin/master
  15. else
  16. echo "Clone ${repository}..."
  17. git -C "${third_party}" clone --recursive ${repository} ${identifier}
  18. fi
  19. # echo "Update '../src/mxnet-metadata.json'"
  20. # ${python} mxnet-metadata.py