noscope icon indicating copy to clipboard operation
noscope copied to clipboard

i got one error about git darknet

Open puface opened this issue 7 years ago • 7 comments

hi all i run : git submodule init git submodule update but i got an error fatal: reference is not a tree: d3ea51f6bbe3e20d37b5b449f15903f2a5a7a37d Unable to checkout 'd3ea51f6bbe3e20d37b5b449f15903f2a5a7a37d' in submodule path 'tensorflow/noscope/darknet' no any code in darknet thank your help

puface avatar Oct 10 '17 07:10 puface

I had the same problem. The submodule was pointing to some older version or invalid path. You have to manually instruct git to get the newest version.

janhuang6 avatar Feb 26 '18 23:02 janhuang6

hi @janhuang6 how could i instruct git to get the newest version? could you explain it in detail? thanks

zjcbatman avatar Mar 18 '18 14:03 zjcbatman

You need to first find the newest version of darknet. Then instruct git to get it. You can get someone who is good at git to help you.

janhuang6 avatar Mar 22 '18 00:03 janhuang6

@janhuang6 thanks for reply ! I have just downloaded the zip version of the code including darknet directly at https://github.com/stanford-futuredata/tensorflow-noscope/tree/speedhax ,and my bazel version is 0.5.2. But I still got some error when i ran "bazel build -c opt --copt=-mavx2 --config=cuda noscope", did i get the right version of the code ,darknet and bazel?

zjcbatman avatar Mar 22 '18 01:03 zjcbatman

fatal: reference is not a tree: d3ea51f6bbe3e20d37b5b449f15903f2a5a7a37d Unable to checkout 'd3ea51f6bbe3e20d37b5b449f15903f2a5a7a37d' in submodule path

scutzhe avatar Feb 21 '19 09:02 scutzhe

I had the same problem. The submodule was pointing to some older version or invalid path. You have to manually instruct git to get the newest version. You solved?

scutzhe avatar Feb 21 '19 11:02 scutzhe

Yes I solved. please change into the newest coding address https://github.com/eric612/TensorRT-Yolov3 Then everything is ok.

scutzhe avatar Feb 25 '19 06:02 scutzhe