gabrieleangeletti / Deep-Learning-TensorFlow

Ready to use implementations of various Deep Learning algorithms using TensorFlow.
http://blackecho.github.io
MIT License
967 stars 378 forks source link

assertion error assert optimizer in ["sgd", "adagrad", "adam", "momentum"] #53

Open iamZe opened 7 years ago

iamZe commented 7 years ago

File "tensorFlow/Deep-Learning-TensorFlow/yadlt/core/trainers.py", line 27, in init assert optimizer in ["sgd", "adagrad", "adam", "momentum"] AssertionError

Is that due to a program bug? Anyone knows how to fix it?

Thanks.

iamZe commented 7 years ago

The error comes out when I tried to run the example code of Stacked Deep Autoencoder

sarmadm commented 6 years ago

same for me when I run it

File "cmd_line/autoencoders/run_stacked_autoencoder_unsupervised.py", line 159, in finetune_enc_act_func=finetune_enc_act_func, finetune_dec_act_func=finetune_dec_act_func) File "C:\Users\Anaconda3\lib\site-packages\yadlt\models\autoencoders\deep_autoencoder.py", line 87, in init momentum=momentum) File "C:\Users\Anaconda3\lib\site-packages\yadlt\core\trainers.py", line 27, in init assert optimizer in ["sgd", "adagrad", "adam", "momentum"] AssertionError