
python
9573号搬运工
这个作者很懒,什么都没留下…
展开
-
qqwwee/keras-yolo3 多gpu训练问题
qqwweee/keras-yolo3模型默认采用的是一块GPU,在直接使用model = multi_gpu_model(model,gpus=N)时,模型会报错tensorflow.python.framework.errors_impl.InvalidArgumentError: Can’t concatenate scalars (use tf.stack instead) for ‘yolo_loss_1/concat’ (op: ‘ConcatV2’) with input shapes: []转载 2020-07-01 15:00:13 · 702 阅读 · 0 评论 -
YUV格式与Python中cv2.cvtcolor函数的code
YUV格式分为YUV420,YUV422,YUV444, 这里暂时记录一下YUV420的内容。 YUV420的存储尺寸是widthheight3/2,YUV420又分为I420(YU12),YV12,NV12(YUV420SP),NV21等(其他暂时不记录)。 python的cv2库中调用cv2.cvtcolor可以直接将cv.imread到的数据转换成YUV格式,但是转换的时候只有两种格式。 1...原创 2020-03-02 15:13:49 · 3427 阅读 · 0 评论 -
InvalidArgumentError Restoring from checkpoint failed
tensorflow.python.framework.errors_impl.InvalidArgumentError Restoring from checkpoint failed. This is most likely due to a mismatch between the current graph and the graph from the checkpoint. Pleas...原创 2019-10-28 10:28:49 · 775 阅读 · 0 评论 -
tf.nn.conv2d和tf.layers.conv2d
tf.nn.conv2d和tf.layers.conv2d 函数内参数有tf.layers.conv2d和tf.nn.conv2d比较的很详细 但是!!!记录一个自己实战中出现的问题 input_1 = tf.placeholder(dtype=tf.float,name='input_1') input_2 = tf.placeholder(shape=(batch,None,None,3),d...原创 2019-10-24 16:46:43 · 285 阅读 · 0 评论 -
查看本机python的版本匹配哪些文件
查看本机python的版本匹配哪些文件 import pip._internal print(pip._internal.pep425tags.getsupported())转载 2019-09-18 13:53:55 · 1326 阅读 · 0 评论