Traceback (most recent call last):


 "eval.py", line 1246, in <module>

evaluate(net, dataset)


 "eval.py", line 1048, in evaluate

img, gt, gt_masks, h, w, num_crowd = dataset.pull_item(image_idx)


 "/home/sangtr/dl/yolact_edge/data/coco.py", line 211, in pull_item

if target.shape[0] == 0:
AttributeError: 'NoneType' object has no attribute 'shape'

Traceback (most recent call last):


 "/home/forge/bin/sentry", line 11, in <module>

sys.exit(main())


 "/home/forge/local/lib/python2.7/site-packages/sentry/runner/__init__.py", line 160, in main

cli(prog_name=get_prog(), obj={}, max_content_width=100)


 "/home/forge/local/lib/python2.7/site-packages/click/core.py", line 722, in __call__

return self.main(*args, **kwargs)


 "/home/forge/local/lib/python2.7/site-packages/click/core.py", line 697, in main

rv = self.invoke(ctx)


 "/home/forge/local/lib/python2.7/site-packages/click/core.py", line 1066, in invoke

return _process_result(sub_ctx.command.invoke(sub_ctx))


 "/home/forge/local/lib/python2.7/site-packages/click/core.py", line 895, in invoke

return ctx.invoke(self.callback, **ctx.params)


 "/home/forge/local/lib/python2.7/site-packages/click/core.py", line 535, in invoke

return callback(*args, **kwargs)


 "/home/forge/local/lib/python2.7/site-packages/click/decorators.py", line 17, in new_func

return f(get_current_context(), *args, **kwargs)


 "/home/forge/local/lib/python2.7/site-packages/sentry/runner/decorators.py", line 35, in inner

configure()


 "/home/forge/local/lib/python2.7/site-packages/sentry/runner/__init__.py", line 123, in configure

configure(ctx, py, yaml, skip_service_validation)


 "/home/forge/local/lib/python2.7/site-packages/sentry/runner/settings.py", line 152, in configure

skip_service_validation=skip_service_validation


 "/home/forge/local/lib/python2.7/site-packages/sentry/runner/initializer.py", line 288, in initialize_app

register_plugins(settings)


 "/home/forge/local/lib/python2.7/site-packages/sentry/runner/initializer.py", line 22, in register_plugins

from sentry.plugins import plugins


 "/home/forge/local/lib/python2.7/site-packages/sentry/plugins/__init__.py", line 10, in <module>

from sentry.plugins.base import *
# NOQA


 "/home/forge/local/lib/python2.7/site-packages/sentry/plugins/base/__init__.py", line 10, in <module>

from .bindings import BindingManager


 "/home/forge/local/lib/python2.7/site-packages/sentry/plugins/base/bindings.py", line 5, in <module>

from sentry.plugins import providers


 "/home/forge/local/lib/python2.7/site-packages/sentry/plugins/providers/__init__.py", line 5, in <module>

import_submodules(globals(), __name__, __path__)


 "/home/forge/local/lib/python2.7/site-packages/sentry/utils/imports.py", line 52, in import_submodules

module = __import__(module_name, globals(), locals(), ['__name__'])


 "/home/forge/local/lib/python2.7/site-packages/sentry/plugins/providers/base.py", line 9, in <module>

from sentry.models import Integration, OrganizationIntegration


 "/home/forge/local/lib/python2.7/site-packages/sentry/models/__init__.py", line 14, in <module>

import_submodules(globals(), __name__, __path__)


 "/home/forge/local/lib/python2.7/site-packages/sentry/utils/imports.py", line 52, in import_submodules

module = __import__(module_name, globals(), locals(), ['__name__'])


 "/home/forge/local/lib/python2.7/site-packages/sentry/models/deploy.py", line 11, in <module>

from sentry.app import locks


 "/home/forge/local/lib/python2.7/site-packages/sentry/app.py", line 15, in <module>

from sentry.utils.locking.backends.redis import RedisLockBackend


 "/home/forge/local/lib/python2.7/site-packages/sentry/utils/locking/backends/redis.py", line 10, in <module>

delete_lock = redis.load_script('utils/locking/delete_lock.lua')


 "/home/forge/local/lib/python2.7/site-packages/sentry/utils/redis.py", line 145, in load_script

script = Script(None, resource_string('sentry', posixpath.join('scripts', path)))


 "/home/forge/local/lib/python2.7/site-packages/redis/client.py", line 2930, in __init__

encoder = registered_client.connection_pool.get_encoder()
AttributeError: 'NoneType' object has no attribute 'connection_pool'
