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

WWAE_keras.py.TypeError: 'NoneType' object is not subscriptable #3

Open
jackliuhang opened this issue May 19, 2019 · 0 comments
Open

Comments

@jackliuhang
Copy link

Traceback (most recent call last):
File "", line 1, in
File "D:\pychrom\PyCharm Community Edition 2019.1.2\helpers\pydev_pydev_bundle\pydev_umd.py", line 197, in runfile
pydev_imports.execfile(filename, global_vars, local_vars) # execute the script
File "D:\pychrom\PyCharm Community Edition 2019.1.2\helpers\pydev_pydev_imps_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "D:/pychormproject/venv/endtoend/wwae_keras/test1/WWAE_keras.py", line 93, in
callbacks=[tensorboard, callback_obj])
File "D:\anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\keras\engine\training.py", line 880, in fit
validation_steps=validation_steps)
File "D:\anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\keras\engine\training_arrays.py", line 370, in model_iteration
callbacks.on_epoch_end(epoch, epoch_logs, mode=mode)
File "D:\anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\keras\callbacks.py", line 251, in on_epoch_end
callback.on_epoch_end(epoch, logs)
File "D:\pychormproject\venv\endtoend\wwae_keras\test1\utils.py", line 41, in on_epoch_end
inp_stack = self.validation_data[0][:3]
TypeError: 'NoneType' object is not subscriptable

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

1 participant