efficientdet-pytorch
efficientdet-pytorch copied to clipboard
这是一个efficientdet-pytorch的源码,可以用于训练自己的模型。
Epoch 3/25: 0%| | 0/204 [00:00
您好,非常感谢分享,我再执行get_dr_txt.py时,发现生成得detection下得txt文件全空,查找错误发现,执行test策略时,执行EfficientNet的forward时(位置在代码目录$./nets/efficientdet.py),第413行x = self.model._bn0(x),也即self._bn0 = nn.BatchNorm2d(num_features=out_channels, momentum=bn_mom, eps=bn_eps)函数时, 上一步不同的输出数值,经过bn0后结果都变为相同的输出,不管接受的是什么输入,只输出'backbone_net.model._bn0.bias'的值,并且weight并不为0,查看上一步的结果,至于形状 test策略时: [16, 3, 1024, 1024] input [16, 48, 512, 512] 经过x = self.model._conv_stem(x) train策略时: [2, 3, 1024, 1024] input [2, 48, 512,...
File "predict.py", line 17, in r_image = efficientdet.detect_image(image) File "/home/404/efficientdet-pytorch-master/efficientdet.py", line 109, in detect_image detection = torch.cat([regression,classification],axis=-1) TypeError: cat() got an unexpected keyword argument 'axis' (yp) [root@localhost efficientdet-pytorch-master]#
bug
File "predict.py", line 17, in r_image = efficientdet.detect_image(image) File "/home/404/efficientdet-pytorch-master/efficientdet.py", line 109, in detect_image detection = torch.cat([regression,classification],axis=-1) TypeError: cat() got an unexpected keyword argument 'axis' (yp) [root@localhost efficientdet-pytorch-master]#
b导好,我在下载预训练权值时给我报错如下,这是为什么呢? RuntimeError: invalid hash value (expected "b0", got "73f3a3d3c70508a1dfc1fcb58f8ba0edb1a5aaf2f0aaa2ce4dcd34b18b1a97df")
train.py
Fail To Load Key: ['classifier.header.pointwise_conv.conv.weight', 'classifier.header.pointwise_conv.conv.bias'] …… Fail To Load Key num: 2 温馨提示,head部分没有载入是正常现象,Backbone部分没有载入是错误的。 The expanded size of the tensor (46917) must match the existing size (49104) at non-singleton dimension...
你好,在使用voc_annotation.py生成用于训练用的2007_train.txt、2007_val.txt时,如果数据集中存在negative image set,即影像无对应的地物目标时,会报错xml.etree.ElementTree.ParseError: no element found: line 1, column 0,大概是可能因为图像中没有用于训练的目标,那么在生成的时候要把这些图片给跳过吗?
Traceback (most recent call last): File "E:\yk\Code\efficientdet-pytorch\predict.py", line 77, in r_image = efficientdet.detect_image(image, crop = crop, count=count) File "E:\yk\Code\efficientdet-pytorch\efficientdet.py", line 216, in detect_image draw.rectangle([left + i, top + i, right...
Bumps [pillow](https://github.com/python-pillow/Pillow) from 8.2.0 to 10.0.1. Release notes Sourced from pillow's releases. 10.0.1 https://pillow.readthedocs.io/en/stable/releasenotes/10.0.1.html Changes Updated libwebp to 1.3.2 #7395 [@radarhere] Updated zlib to 1.3 #7344 [@radarhere] 10.0.0 https://pillow.readthedocs.io/en/stable/releasenotes/10.0.0.html Changes...
Bumps [torch](https://github.com/pytorch/pytorch) from 1.2.0 to 1.13.1. Release notes Sourced from torch's releases. PyTorch 1.13.1 Release, small bug fix release This release is meant to fix the following issues (regressions /...