FCIS icon indicating copy to clipboard operation
FCIS copied to clipboard

git submodule update fatal: reference is not a tree:

Open fangxu622 opened this issue 7 years ago • 14 comments

[sensetime@localhost mxnet]$ git submodule update

fatal: reference is not a tree: 89de7ab20167909bc2c4f8acd397671c47cf3c0d
Unable to checkout '89de7ab20167909bc2c4f8acd397671c47cf3c0d' in submodule path 'cub'

I don't know why it's like this

fangxu622 avatar Jul 07 '17 07:07 fangxu622

@fangxu622 ,How do you solve the problem of git checkout 62ecb60?

xingbowei avatar Jul 07 '17 08:07 xingbowei

@xingbowei 还没解决呢..运行python demo.py 也有问题l..

fangxu622 avatar Jul 07 '17 08:07 fangxu622

@fangxu622 好吧,有结果了互相帮帮忙,我也再查查

xingbowei avatar Jul 07 '17 09:07 xingbowei

@xingbowei python demo.py 已经跑通了,这个错误好像对后面的运行没什么影响

fangxu622 avatar Jul 07 '17 10:07 fangxu622

@fangxu622 mxnet你编译了吗?

xingbowei avatar Jul 07 '17 10:07 xingbowei

just because the mxnet has change the submodule cub from NVlabs' repo to dmlc's snapshot

liyi14 avatar Jul 10 '17 19:07 liyi14

@fangxu622 Have you been training and testing there?

xingbowei avatar Jul 13 '17 13:07 xingbowei

@fangxu622 hello,i have this error: Traceback (most recent call last): File "demo.py", line 17, in from utils.image import resize, transform File "/home/cs/FCIS/fcis/../lib/utils/image.py", line 6, in from bbox.bbox_transform import clip_boxes File "/home/cs/FCIS/fcis/../lib/bbox/bbox_transform.py", line 10, in from bbox import bbox_overlaps_cython ImportError: cannot import name bbox_overlaps_cython how to deal with it? thanks. 这是我的邮箱[email protected]方便的话可以交流,你是怎么解决这个问题的呢

lnuchiyo avatar Aug 01 '17 08:08 lnuchiyo

@liyi14 So quickfix would be to change the .git/modules/cub/config to point to the NVlabs repo? What would be future fixes that could happen

kyeshmz avatar Aug 14 '17 06:08 kyeshmz

@fangxu622 这个错误没影响?

niuhaoyu16 avatar Oct 18 '17 03:10 niuhaoyu16

@niuhaoyu16 没有影响,你可以用git submodule update || true来忽略这个错误,在某些脚本里。

liqiang311 avatar Oct 18 '17 15:10 liqiang311

@liqiang311 谢谢,貌似还是不行,有时间帮忙看一下 #99

niuhaoyu16 avatar Oct 18 '17 21:10 niuhaoyu16

I found this error and continued to run demo.py. It runs indeed with no errors.

mldm4 avatar Oct 23 '17 14:10 mldm4

Dear colleagues,

Does this error in the checkout/submodule step have a final resolution? I got the headless warning on checkout, plus the error at the top of this page on the submodule update.

Thanks

MandatoryMania avatar Nov 07 '17 02:11 MandatoryMania