jadhavhninad / Sparse_autoencoder

Implementing sparse autoencoder for MNIST data classification using keras and tensorflow
23 stars 12 forks source link

ValueError found in sparseae_generic.py #3

Open saqibejaz opened 2 years ago

saqibejaz commented 2 years ago

Hi jadhav, The code line "train_step = optimizer.minimize(cost, var_list=weight_list)" of the sparseae_generic.py file throws this error: ValueError: tape is required when a Tensor loss is passed

Cost variable is surely a tensor. Tried working around the tape argument but unsuccessful. Your help is appreciated.