Jianming Lv, Weihang Chen, Qing Li, Can Yang. Unsupervised Cross-dataset person Re-identification by Transfer Learning of Spatial-temporal Patterns, CVPR 2018. (CCF A类会议) [paper][code]
Jianming Lv, Jiajie Zhong, Weihang Chen, Qinzhe Xiao, Zhenguo Yang and Qing Li. Homepage Augmentation by Predicting Links in Heterogenous Networks. CIKM 2018. (CCF B类会议)
if ''_new' in name:
self.alias.append(name[:-4])
首先会报错格式错误,然后我改为了
if '_new' in name:
self.alias.append(name[:-4])
再次运行会提示:
AttributeError: 'NetworkStage' object has no attribute 'alias'
######################### [{'id': 1, 'name': 'new'}] ######################### {1: {'id': 1, 'name': 'new'}}
Traceback (most recent call last):
File "ncs_detection.py", line 173, in
count_for_video_ncs(img_dir, start_index, end_index)
File "ncs_detection.py", line 137, in count_for_video_ncs
predictions = predict(image_np, detection_graph)
File "ncs_detection.py", line 30, in predict
for box_index in range(num_valid_boxes):
TypeError: 'numpy.float16' object cannot be interpreted as an integer
pi@JBLPI0001:~/workspace/ncs_detection $
Hi ahangchen,
I install ncs(https://github.com/movidius/ncsdk),the ssd-caffe path is /opt/movidius/ssd-caffe/.
When i run merge_bn.py file,it's output is AttributeError: 'collections.OrderedDict' object has no attribute 'iterkeys'.how to tackle this problem?
Thanks in advance.
#####################################
I0526 14:59:43.139652 7526 net.cpp:228] conv3 does not need backward computation.
I0526 14:59:43.139660 7526 net.cpp:228] conv3/dw/relu does not need backward computation.
I0526 14:59:43.139668 7526 net.cpp:228] conv3/dw does not need backward computation.
I0526 14:59:43.139673 7526 net.cpp:228] conv2/relu does not need backward computation.
I0526 14:59:43.139681 7526 net.cpp:228] conv2 does not need backward computation.
I0526 14:59:43.139706 7526 net.cpp:228] conv2/dw/relu does not need backward computation.
I0526 14:59:43.139744 7526 net.cpp:228] conv2/dw does not need backward computation.
I0526 14:59:43.139750 7526 net.cpp:228] conv1/relu does not need backward computation.
I0526 14:59:43.139756 7526 net.cpp:228] conv1 does not need backward computation.
I0526 14:59:43.139761 7526 net.cpp:228] conv1/dw/relu does not need backward computation.
I0526 14:59:43.139766 7526 net.cpp:228] conv1/dw does not need backward computation.
I0526 14:59:43.139771 7526 net.cpp:228] conv0/relu does not need backward computation.
I0526 14:59:43.139776 7526 net.cpp:228] conv0 does not need backward computation.
I0526 14:59:43.139782 7526 net.cpp:228] data_input_0_split does not need backward computation.
I0526 14:59:43.139787 7526 net.cpp:228] input does not need backward computation.
I0526 14:59:43.139792 7526 net.cpp:270] This network produces output detection_out
I0526 14:59:43.139940 7526 net.cpp:283] Network initialization done.
Traceback (most recent call last):
File "merge_bn.py", line 62, in
merge_bn(net, net_deploy)
File "merge_bn.py", line 21, in merge_bn
for key in net.params.iterkeys():
AttributeError: 'collections.OrderedDict' object has no attribute 'iterkeys'
michael@ubt1604:~/workspace/MobileNet-SSD$