Error : Wrong number or type of arguments for overloaded function 'IVector_create'
Created by: jeromeJT
错误信息:
Traceback (most recent call last):
File "train.py", line 81, in <module>
num_passes=2
File "/home/map/taotao/paddlev2/python27/lib/python2.7/site-packages/paddle/v2/trainer.py", line 150, in train
in_args = feeder(data_batch)
File "/home/map/taotao/paddlev2/python27/lib/python2.7/site-packages/py_paddle/dataprovider_converter.py", line 249, in __call__
return self.convert(dat, argument)
File "/home/map/taotao/paddlev2/python27/lib/python2.7/site-packages/paddle/v2/data_feeder.py", line 134, in convert
return DataProviderConverter.convert(self, reorder_data(dat), argument)
File "/home/map/taotao/paddlev2/python27/lib/python2.7/site-packages/py_paddle/dataprovider_converter.py", line 244, in convert
scanner.finish_scan(argument)
File "/home/map/taotao/paddlev2/python27/lib/python2.7/site-packages/py_paddle/dataprovider_converter.py", line 178, in finish_scan
ids = swig_paddle.IVector.create(self.__ids__, self.data_in_gpu)
File "/home/map/taotao/paddlev2/python27/lib/python2.7/site-packages/py_paddle/swig_paddle.py", line 881, in create
return _swig_paddle.IVector_create(*args)
NotImplementedError: Wrong number or type of arguments for overloaded function 'IVector_create'.
Possible C/C++ prototypes are:
IVector::create(std::vector< int,std::allocator< int > > const &,bool)
IVector::create(std::vector< int,std::allocator< int > > const &)
调用方式见附件train.py.txt train.py.txt