I am suspecting NaN values in my script so I would like to use the anomaly detector 4 of pytorch. However, I am confused as to how exactly to use it.
My dataset class uses h5py so I am wondering where I have to include the context manager in in order for it to work.