You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been running optimizations of a Microdisk in cylindrical coordinates using a near2far objective argument. With the setup below I was facing NaN's in my adjoint run (which I further debugged and found the source NaN's in objective.py during the call to self._monitor.swigobj.near_sourcedata.
After a series of trial and error, I realized the problem was having my monitor at r=0. Moving it away from the origin fixed the issue. It could be useful to note this somewhere so future users don't encounter the same issue. Thanks!
The text was updated successfully, but these errors were encountered:
I've been running optimizations of a Microdisk in cylindrical coordinates using a near2far objective argument. With the setup below I was facing NaN's in my adjoint run (which I further debugged and found the source NaN's in objective.py during the call to self._monitor.swigobj.near_sourcedata.
After a series of trial and error, I realized the problem was having my monitor at r=0. Moving it away from the origin fixed the issue. It could be useful to note this somewhere so future users don't encounter the same issue. Thanks!
The text was updated successfully, but these errors were encountered: