![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
deeplearning
northeastsqure
这个作者很懒,什么都没留下…
展开
-
文字识别问答
1.下面keras代码,先TimeDistributed, 再 Dense, 依据https://keras.io/zh/layers/core/Dense节, dense自动flatten输入来计算,那么这个TimeDistributed,是不是没用?x = Permute((2, 1, 3), name='permute')(x)x = TimeDistributed(Flatten(), name='flatten')(x)#x = tf.Print(x, [x], "x")y_pred.原创 2021-05-25 21:26:00 · 150 阅读 · 0 评论 -
各个框架下Tensor中的通道顺序
N: batch;C: channelH: heightW: widthdarknet 网络输入通道顺序也是:NCHWCaffe 的Blob通道顺序是:NCHW;Tensorflow的tensor通道顺序:默认是NHWC, 也支持NCHW,使用cuDNN会更快;Pytorch中tensor的通道顺序:NCHWTensorRT中的tensor 通道顺序: NCHW...原创 2021-03-15 16:52:47 · 650 阅读 · 0 评论 -
openpose搭建中遇到的问题
1.caffe 编译时候遇到 #error This file was generated by a newer version of protoc? 我遇到这个问题是因为我的ubuntu系统里面有两个protoc,如何发现的, 用sudo apt search libproto找到的,发现有几项是installed,删除后,再装,可以了2.libcaffe.dylib是什么? 是caffe在mac编译的后缀,在mac平台动态库后缀dylib, 在ubuntu后缀为so3.CUDA_cu..原创 2021-02-01 14:49:34 · 697 阅读 · 0 评论 -
yolov4问答
1.yolov4对于yolov3有哪些改进? 数据增强:mosaic,adversial training mish激活函数2.darknet的新作者是谁? 来自俄罗斯的alexey3.什么是Mish激活函数?图像上看,β=1时的swish和mish差不多啊?为什么mish比swish会好不少呢?https://zhuanlan.zhihu.com/p/139696588 output = x*tanh(ln(1+e^x)) tanh部分,取值范围[0,1), ...原创 2020-12-25 17:22:23 · 678 阅读 · 1 评论 -
pytorch 训练时候不动了
因为用的线程太多, 打开文件太多了导致的,如下步骤1 num_workers变小有助于解决这个问题 train_loader = DataLoader( dataset=train_set, batch_size=args.batchsize, shuffle=True, num_workers=4, pin_memory=True, )2.提高linux limit 参考https://le.原创 2020-12-23 11:55:27 · 4369 阅读 · 0 评论 -
DB:Real-time Scene Text Detection with Differentiable Binarization
1.基本过程网络最终特征层,预测两个图:概率图,和阈值图。概率图是,原始文本mask收缩后的图;阈值图,是文本边界向内、向外扩展后,得到的差集区域,更好的描述文本的边界。合并方法:2.损失函数...原创 2020-12-04 17:06:23 · 181 阅读 · 0 评论 -
keras callback什么时候被调用
model.fit_generator(datagen.flow(x_train, y_train, batch_size=64),epochs=epochs,verbose=1,validation_data=(x_test, y_test),callbacks=callbacks_list)每个epoch后,callback会被执行。原创 2019-08-13 11:03:28 · 490 阅读 · 1 评论