N2D
N2D copied to clipboard
Saving and Loading -- an error
Hi, I followed the exact same codes here (https://n2d.readthedocs.io/en/latest/quickstart.html#installation)
The only part I modified is epoch=1 when .fit() instead of using default epoch=1000
but an error appears when loading the model, and I have no clue
AttributeError: 'int' object has no attribute 'encoder'

The load function is not well-defined, as it passes 10 as the autoencoder instance. One approach that worked for me was to load the encoder and the manifold separately. This way, you can apply the transformations step by step to new data.