Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NameError: name 'CHECKPOINTS_PATH' is not defined #3

Open
DIPTIMISHRA opened this issue Jul 5, 2018 · 3 comments
Open

NameError: name 'CHECKPOINTS_PATH' is not defined #3

DIPTIMISHRA opened this issue Jul 5, 2018 · 3 comments

Comments

@DIPTIMISHRA
Copy link

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

@its5Q
Copy link

its5Q commented Oct 6, 2018

No it is not. It is CHECKPOINT_PATH

@hinash88
Copy link

Yes, I fixed the spellings but now the problem is:
checkpoint_path=CHECKPOINT_PATH) TypeError: fit() got an unexpected keyword argument 'checkpoint_path'

@hinash88
Copy link

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' )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants