CSRNet-pytorch
CSRNet-pytorch copied to clipboard
CSRNet: Dilated Convolutional Neural Networks for Understanding the Highly Congested Scenes
In model.py (https://github.com/leeyeehoo/CSRNet-pytorch/blob/master/model.py) I noted that: `self.output_layer = nn.Conv2d(64, 1, kernel_size=1)` does not come with relu. Others layers are: `[conv2d, nn.BatchNorm2d(v), nn.ReLU(inplace=True)]` Can someone help me understand why ReLU is...
当我训练的时候,验证集的效果非常差,一直在300-400左右浮动,请问这是什么原因,我也没有改别的,只是把python3中不兼容python2的给改掉了,改动最大的是model.py中 if not load_weights: mod = models.vgg16(pretrained = True) self._initialize_weights() #读取参数 pretrained_dict=mod.state_dict() self.frontend_dict=self.frontend.state_dict() #将pretrained_dict里不属于frontend_dict的键剔除掉 pretrained_dict={k:v for k, v in pretrained_dict.items() if k in self.frontend_dict} #更新现有的frontend_dict self.frontend_dict.update(pretrained_dict) #加载我们真正需要的state_dict self.frontend.load_state_dict(self.frontend_dict) 因为python3中不支持这样的索引,不知道改的对不对,验证集效果一直很差
hello, there is a problem when i run jupyter notebook val.ipynb i try to see the sizes of output and groundtruth and find that the size of output is 1/8...
关于mat文件
你好,make_dataset文件中直接load了mat文件,想问下mat文件是怎么得到的?谢谢
I couln't help but notice that the sigma defined in the code is different from the one mentioned in the paper. The latter is defined as the **mean** of the...
Python 2.7 or Python 3? Syntax looks like 3 not 2.
Hello, how do you reduce learing rate? decayed by 10 at epoch 100 and epoch 150?
求问 WorldExpo'10 数据集在测试,测试集的时候 是用一个模型测试5个不同的场景,还是用5个不同的训练结果来测试5个不同的场景
密度图的ground-truth是根据标签生成的,然后根据密度图积分求和得到人数,对吗? 但是如果用一个随便找的图片进行测试的时候,没有标签,那怎么生成的密度图? 能解答一下吗