Closed sahandrez closed 2 years ago
Hi,
Did you try increasing the input size? In one of the issues, it is mentioned the code has issues with batch size =1.
Unfortunately, flows with 1-dimensional inputs and outputs are not currently implemented in FrEIA. You might be able to use the NLSQ flow from this repo: https://github.com/harvardnlp/TextFlow. Alternatively you can add a noise dimension to your input, as in the Augmented Flow: https://arxiv.org/abs/2002.07101
Hi,
I have not been able to create an invertible fully-connected NN that has an input with the shape (1,). A minimal example ro recreate the error is:
Which results in the followin traceback, seems like the issue is in
special_ortho_group
method of scipy.Is there a workaround for this issue? A naive way would be to repeat the input or concat a column of zeros so that the neural net would have inputs of shape (2,).
Thanks!