longzw1997 / Open-GroundingDino

This is the third party implementation of the paper Grounding DINO: Marrying DINO with Grounded Pre-Training for Open-Set Object Detection.
MIT License
452 stars 70 forks source link

encoder中出现nan问题 #94

Open lxiaohaung opened 1 month ago

lxiaohaung commented 1 month ago

在预训练的时候,我在过transformer的encoder的时候,output 会出现nan,我看您的代码里也曾经检查过这个问题,想问问是怎么解决的