inference for NAN
Opened this issue · 3 comments
runzeer commented
why the model forward generate the nan?
zengxianyu commented
I never encountered nan issue. What's your input
iguhuifeide commented
I have encountered the same problem. Have you resolved it now
iguhuifeide commented
I have solved this problem. My problem is that I used my own mask creator, which has a probability of generating all 0 masks, causing the path to calculate 0 and ultimately resulting in the generator parameter being nan.
I hope it will be helpful to you.