huawei-noah / bolt

Bolt is a deep learning library with high performance and heterogeneous flexibility.
https://huawei-noah.github.io/bolt/
MIT License
918 stars 160 forks source link

Error while cloning tensorflow #13

Closed warpuv closed 4 years ago

warpuv commented 4 years ago

Building by command

./install.sh -t 12 -c llvm

getting this error:

  • [new tag] v2.1.0-rc1 -> v2.1.0-rc1
  • [new tag] v2.1.0-rc2 -> v2.1.0-rc2
  • [new tag] v2.2.0-rc0 -> v2.2.0-rc0
  • [new tag] v2.2.0-rc1 -> v2.2.0-rc1 From https://github.com/tensorflow/tensorflow
  • branch master -> FETCH_HEAD error: Sparse checkout leaves no entry on working directory
zetyquickly commented 4 years ago

Hi, @warpuv This is because tensorflow repo has tensorflow subdirectory with lite. So the command in ./third_party/install.sh should look the folowing way:

...
echo "tensorflow/lite/schema/schema_generated.h" >> .git/info/sparse-checkout
...
zetyquickly commented 4 years ago

NOTE: after the installation you should manually move schema_generated.h to where the TFLite_root/include is pointing