normalizing-flows-tutorial icon indicating copy to clipboard operation
normalizing-flows-tutorial copied to clipboard

Got exception "__init__() got an unexpected keyword argument 'event_ndims'"

Open moonman925 opened this issue 6 years ago • 1 comments

what exactly is the 'event_ndims'? how to fix this?

moonman925 avatar Sep 19 '19 07:09 moonman925

I think you need modify the definition of _inverse_log_det_jacobian like so:

def _inverse_log_det_jacobian(self, y, event_ndims=0):

rkube avatar May 25 '21 10:05 rkube