Convolutional-Autoencoder
Convolutional-Autoencoder copied to clipboard
NameError: name 'CHECKPOINTS_PATH' is not defined
checkpoints path is defined in the code,still it is showing this error
File "train_autoencoder.py", line 89, in main checkpoint_path=CHECKPOINTS_PATH) NameError: name 'CHECKPOINTS_PATH' is not defined
No it is not. It is CHECKPOINT_PATH
Yes, I fixed the spellings but now the problem is:
checkpoint_path=CHECKPOINT_PATH) TypeError: fit() got an unexpected keyword argument 'checkpoint_path'
Problem fixed!
For anyone who is interested, replace the code in "train_autoencoder.py" with
model = tflearn.DNN(conv_autencoder, tensorboard_verbose=3,checkpoint_path=CHECKPOINT_PATH) model.fit(X, X, n_epoch=20, shuffle=True, show_metric=True, batch_size=BATCH_SIZE, validation_set=0.1, snapshot_epoch=True, run_id='selfie_conv_autoencoder' )