ly0303521
ly0303521
anyone have ideas?
when I train yolov4, the map changed to 0, have any ideas ? python train.py --data missions/trash_lid_v4/trash_lid_v4.data \ --batch-size 3 \ -pt --weights pretrained/yolov4.weights \ --cfg missions/trash_lid_v4/yolov4-custom_trash_lid.cfg \ -sr --s...
> 你好, Ly: > 你可以试着先用 SGD ,即默认的 不用设置 ; 另外 -- weight 是给出权重路径, --wdir ?? 你这个参数哪里来的? 你好,--wdir 是我自己加的,指定权重保存路径,SGD试过了,一样会变成0,我现在把稀疏的参数调小一点,设置成--s 0.0005,带回再看看
Whats your cls_conf, mine is always 1.0, I think its not right + Label: without_mask, Conf: 1.00000
Same problem with you , have you solved??
@Tushn comment test in solver
comment test in solver.prototxt, I find the answer in the closed issues
below is self.my_maxpool > self.my_maxpool = nn.MaxPool2d(kernel_size=2, stride=2, padding=0)
@KaleidoZhouYN 非常感谢作者,我这边使用您的代码之后,模型性能的确提升了,但是理解代码的时候还是有想不明白的地方。比如418行到420行,420行我知道是直接把传进来的样本当成是新的类中心来做分类,但是前两行就不明白有什么作用了, ran_flag 的范围应该是 0至 9 的整数,(ran_flag > 4)应该是一半的概率,并没有体现 trinlet的思想。 有点不太明白 int ran_flag = caffe_rng_rand() % int(10); if (ran_flag > 4) caffe_copy(K_,(Dtype*)&bottom_data[i],(Dtype*)&m_weight[label_i]);