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
When turning on spectral normalization in the inference network, training proceeds successfully, but subsequent sampling via approximator.sample() crashes.
Specifically, in TwoMoons_StarterNotebook.ipynb, activating spectral normalization via:
During training, the input to the MLP is 2D, whereas during sampling, it is 3D. Since the error stems from the MLP subnet, it arises for multiple architectures (I tested flow matching and coupling flows).
The text was updated successfully, but these errors were encountered:
It seems that the spectral normalizing wrapper does not properly wrap a dense layer's tensordot capabilities. This needs to be fixed either on the keras side or via a custom implementation.
When turning on spectral normalization in the inference network, training proceeds successfully, but subsequent sampling via approximator.sample() crashes.
Specifically, in TwoMoons_StarterNotebook.ipynb, activating spectral normalization via:
leads to the following ValueError when calling
approximator.sample(conditions={"x": np.array([[0.0, 0.0]]).astype("float32")}, num_samples=100)
:During training, the input to the MLP is 2D, whereas during sampling, it is 3D. Since the error stems from the MLP subnet, it arises for multiple architectures (I tested flow matching and coupling flows).
The text was updated successfully, but these errors were encountered: