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'm running into a problem when I call model.forward(..., mode='inverse') before calling model.forward(..., mode='direct'), in which case batch_mean and batch_var are not defined. What is a proper why to fix this problem? I need to use inverse mode first during the training stage in my application.
The code snippet looks like this. I've omitted some application specific codes.
I'm running into a problem when I call
model.forward(..., mode='inverse')
before callingmodel.forward(..., mode='direct')
, in which casebatch_mean
andbatch_var
are not defined. What is a proper why to fix this problem? I need to use inverse mode first during the training stage in my application.The code snippet looks like this. I've omitted some application specific codes.
The text was updated successfully, but these errors were encountered: