If you load pretrained model and weights for Autoencoder and pretrain = True, in deepSVDD.pretrain, it will build a new autoencoder without weights.