Traceback (most recent call last):


 "test.py", line 16, in <module>

B()


 "<string>", line 2, in __init__


 "/Users/quantumdark/PycharmProjects/horizon-server/.venv/lib/python3.7/site-packages/sqlalchemy/orm/instrumentation.py", line 388, in _new_state_if_none

state = self._state_constructor(instance, self)


 "/Users/quantumdark/PycharmProjects/horizon-server/.venv/lib/python3.7/site-packages/sqlalchemy/util/langhelpers.py", line 893, in __get__

obj.__dict__[self.__name__] = result = self.fget(obj)


 "/Users/quantumdark/PycharmProjects/horizon-server/.venv/lib/python3.7/site-packages/sqlalchemy/orm/instrumentation.py", line 214, in _state_constructor

self.dispatch.first_init(self, self.class_)


 "/Users/quantumdark/PycharmProjects/horizon-server/.venv/lib/python3.7/site-packages/sqlalchemy/event/attr.py", line 322, in __call__

fn(*args, **kw)


 "/Users/quantumdark/PycharmProjects/horizon-server/.venv/lib/python3.7/site-packages/sqlalchemy/orm/mapper.py", line 3411, in _event_on_first_init

configure_mappers()


 "/Users/quantumdark/PycharmProjects/horizon-server/.venv/lib/python3.7/site-packages/sqlalchemy/orm/mapper.py", line 3299, in configure_mappers

mapper._post_configure_properties()


 "/Users/quantumdark/PycharmProjects/horizon-server/.venv/lib/python3.7/site-packages/sqlalchemy/orm/mapper.py", line 1965, in _post_configure_properties

prop.init()


 "/Users/quantumdark/PycharmProjects/horizon-server/.venv/lib/python3.7/site-packages/sqlalchemy/orm/interfaces.py", line 197, in init

self.do_init()


 "/Users/quantumdark/PycharmProjects/horizon-server/.venv/lib/python3.7/site-packages/sqlalchemy/orm/relationships.py", line 2077, in do_init

self._process_dependent_arguments()


 "/Users/quantumdark/PycharmProjects/horizon-server/.venv/lib/python3.7/site-packages/sqlalchemy/orm/relationships.py", line 2148, in _process_dependent_arguments

self.target = self.entity.persist_selectable


 "/Users/quantumdark/PycharmProjects/horizon-server/.venv/lib/python3.7/site-packages/sqlalchemy/util/langhelpers.py", line 987, in __getattr__

return self._fallback_getattr(key)


 "/Users/quantumdark/PycharmProjects/horizon-server/.venv/lib/python3.7/site-packages/sqlalchemy/util/langhelpers.py", line 961, in _fallback_getattr

raise AttributeError(key)
AttributeError: entity

Traceback (most recent call last):


 "train.py", line 111, in <module>

train()


 "train.py", line 66, in train

is_infer=False)


 "/home/workspace/models/ctr/network_conf.py", line 34, in __init__

self._declare_input_layers()


 "/home/workspace/models/ctr/network_conf.py", line 53, in _declare_input_layers

type=paddle.data_type.sparse_vector(self.lr_input_dim))
AttributeError: 'module' object has no attribute 'sparse_vector'