The pytorch re-implement of the official efficientdet with SOTA performance in real time and pretrained weights.
GNU Lesser General Public License v3.0
5.21k
stars
1.27k
forks
source link
RuntimeError: a leaf Variable that requires grad is being used in an in-place operation. #503
Open
kuangbo opened 4 years ago
When I reproduce the BiFPN, a problem occured. Then, I get. Leaf Variable can not use
nn.ReLU()
, exceptF.relu()
. However, why is the following code okay? https://github.com/zylo117/Yet-Another-EfficientDet-Pytorch/blob/acb2c691e1220448d41527b3e3b5c56206d8fd70/efficientdet/model.py#L143My code as follows:
Thanks for your attention !