resnet18-vae implementation of the herring stack visual system model using resnet 50 (not 18) as a base