Traceback (most recent call last):
| 0/11290 [00:00<?, ?it/s]


 "main.py", line 72, in <module>

tf.app.run()


 "/anaconda3/lib/python3.7/site-packages/tensorflow/python/platform/app.py", line 125, in run

_sys.exit(main(argv))


 "main.py", line 53, in main

model.train(sess, data)


 "/Users/brian/Downloads/show-attend-and-tell-master/base_model.py", line 50, in train

images = self.image_loader.load_images(image_files)


 "/Users/brian/Downloads/show-attend-and-tell-master/utils/misc.py", line 34, in load_images

images.append(self.load_image(image_file))


 "/Users/brian/Downloads/show-attend-and-tell-master/utils/misc.py", line 18, in load_image

temp = image.swapaxes(0, 2)
AttributeError: 'NoneType' object has no attribute 'swapaxes'

Traceback (most recent call last):


 "manage.py", line 11, in <module>

execute_from_command_line(sys.argv)


 "/venv/lib/python2.7/site-packages/django/core/management/__init__.py", line 363, in execute_from_command_line

utility.execute()


 "/venv/lib/python2.7/site-packages/django/core/management/__init__.py", line 355, in execute

self.fetch_command(subcommand).run_from_argv(self.argv)


 "/venv/lib/python2.7/site-packages/django/core/management/base.py", line 283, in run_from_argv

self.execute(*args, **cmd_options)


 "/venv/lib/python2.7/site-packages/django/core/management/base.py", line 330, in execute

output = self.handle(*args, **options)


 "/venv/lib/python2.7/site-packages/pinax_stripe-3.4.1-py2.7.egg/pinax/stripe/management/commands/sync_plans.py", line 11, in handle

plans.sync_plans()


 "/venv/lib/python2.7/site-packages/pinax_stripe-3.4.1-py2.7.egg/pinax/stripe/actions/plans.py", line 29, in sync_plans

defaults=defaults


 "/venv/lib/python2.7/site-packages/django/db/models/manager.py", line 85, in manager_method

return getattr(self.get_queryset(), name)(*args, **kwargs)


 "/venv/lib/python2.7/site-packages/django/db/models/query.py", line 459, in get_or_create

lookup, params = self._extract_model_params(defaults, **kwargs)


 "/venv/lib/python2.7/site-packages/django/db/models/query.py", line 521, in _extract_model_params

property_names = self.model._meta._property_names


 "/venv/lib/python2.7/site-packages/django/utils/functional.py", line 35, in __get__

res = instance.__dict__[self.name] = self.func(instance)


 "/venv/lib/python2.7/site-packages/django/db/models/options.py", line 887, in _property_names

dir(self.model) if isinstance(getattr(self.model, attr), property)


 "/venv/lib/python2.7/site-packages/django/db/models/options.py", line 887, in <setcomp>

dir(self.model) if isinstance(getattr(self.model, attr), property)


 "build/bdist.linux-x86_64/egg/jsonfield/subclassing.py", line 33, in __get__
AttributeError: Can only be accessed via an instance.
