gabrieleangeletti / Deep-Learning-TensorFlow

Ready to use implementations of various Deep Learning algorithms using TensorFlow.

Home Page:http://blackecho.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

iamZe opened this issue · comments

commented

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.

commented

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

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