wuyefeilin
wuyefeilin
You can add some situation to the training circulation, and break out of the loop when the condition is met.
Thank you for your suggestion
img_size主要是跟pos-embed有关,这个参数只能是整数。 在forward的时候对x的shape是不做要求的。
https://github.com/PaddlePaddle/PaddleSeg/blob/release/2.3/contrib/Matting/model/modnet.py#L88 可能是这边分母出现了0的情况,在分母加一下1e-6试试,如果解决了,欢迎提个pr哈
可能是在数据增强时进行crop的时候导致的, 如果是该问题导致的,欢迎提个pr哈
提供的只是教程,让你跑通用的。如果要训练自己的模型你需要自己准备数据集,以我们的模型作为预训练模型进行微调
内部数据训练的,不能开源哈
PPM-100只是一个公开的benchmark哦, 网上有一些公开的数据集Composition-1k, Distinctions-646, VideMatte240k, 等等,你可以在这些数据集上进行训练哈
没有的,就是用modnet训练的结果