
问题解决
Joel丶yang
这个作者很懒,什么都没留下…
展开
-
【Caffe-windows】 ImportError: No module named google.protobuf.internal
当将编译好的caffe导入时会出现如下错误ImportError: No module named google.protobuf.internal解决这个错误的方法是:win+R,打开CMD,在dos下安装protobufC:\Users\Joel>conda install protobuf然后就会慢慢安装,安装过程如下:C:\Users\Joel>conda install protobuf原创 2017-08-16 16:02:12 · 1148 阅读 · 0 评论 -
weights.getA()是什么?
解释如下:matrix.getA()Return self as an ndarray object.Equivalent to np.asarray(self).Parameters: None Returns: ret : ndarrayself as an ndarray 也就是说矩阵通过这个getA()这个方法可以将自身返回成一个n维数组对象为什么要这样做呢?因为plotBestFit原创 2017-09-05 19:51:23 · 1290 阅读 · 0 评论 -
Invalid argument: Reduction axis 0 is empty in shape [0]
Invalid argument: Reduction axis 0 is empty in shape [0] [[Node: bboxes_matching_batch_dict/bboxes_matching_batch_2/map/while/bboxes_matching_single/while/ArgMax = ArgMax[T=DT_FLOAT, Tidx=DT_INT32, ou...原创 2018-05-28 15:45:03 · 1481 阅读 · 4 评论 -
【KERAS】Keras实现自定义层的多输出,AttributeError: 'tuple' object has no attribute '_keras_shape'
在用Keras编写自己的层的时候,需要得到两个输出,困扰了好一会,上网查资料也没有找到满意的答案,然后就根据错误提示查看源码解决问题。C:\Anaconda3\python.exe D:/yangzhaolu/KERAS/Keras-Segmentation/test.pyUsing TensorFlow backend.Traceback (most recent call last): ...原创 2018-07-04 16:55:18 · 20580 阅读 · 6 评论