CTR model fail to run due to no attribute 'sparse_vector'
Created by: tanzhongyi003
when I run CTR models from http://staging.paddlepaddle.org/docs/develop/models/ctr/README.html, the script is "python train.py --train_data_path ./output/train.txt --test_data_path ./output/test.txt --data_meta_file ./output/data.meta.txt --model_type=0" I am using latest paddle docker image, it failed, the error message is "INFO:paddle:dnn input dim: 61 INFO:paddle:lr input dim: 10040001 Traceback (most recent call last): File "train.py", line 111, in train() File "train.py", line 66, in train is_infer=False) File "/home/workspace/models/ctr/network_conf.py", line 34, in init self._declare_input_layers() File "/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'