RuntimeError: probability tensor contains either `inf`, `nan` or element < 0

#1
by dafen - opened

error
RuntimeError: probability tensor contains either inf, nan or element < 0

Only setting do_sample=False solved my issue. Don't know the exact reason about this.

dafen changed discussion status to closed

Sign up or log in to comment