Sparse_autoencoder icon indicating copy to clipboard operation
Sparse_autoencoder copied to clipboard

ValueError found in sparseae_generic.py

Open saqibejaz opened this issue 2 years ago • 0 comments

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.

saqibejaz avatar Sep 01 '22 09:09 saqibejaz