Open rahashwini opened 6 years ago
hi. thanks for the interest in my code. Could you tell me the version of your python that you're running?
I confirmed that this error reproduces on python 3.6.4. Could you try it out on python 2.7.12?
Ok, I will try it on Python 2.7.12. For neural network, you have used chainer package. Have u tried it with theano?
On Sun, Apr 8, 2018 at 10:31 AM, Yuta Koreeda notifications@github.com wrote:
I confirmed that this error reproduces on python 3.6.4. Could you try it out on python 2.7.12?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/koreyou/listnet_chainer/issues/3#issuecomment-379520654, or mute the thread https://github.com/notifications/unsubscribe-auth/AjJ0k5d-acdXvFm6k1QgRvO-R5HTWAkoks5tmZmpgaJpZM4TLD-A .
Traceback (most recent call last): File "G:\Implementation of the Project\Learning to Rank Algorithms\Python\ListNet+Chainer\listnet_chainer-master\listnet_chainer-master\bin\train.py", line 52, in
run(args)
File "G:\Implementation of the Project\Learning to Rank Algorithms\Python\ListNet+Chainer\listnet_chainer-master\listnet_chainer-master\bin\train.py", line 16, in run
train = dataset.create_dataset(args.train)
File "G:\Implementation of the Project\Learning to Rank Algorithms\Python\ListNet+Chainer\listnet_chainer-master\listnet_chainer-master\listnet\dataset.py", line 43, in create_dataset
v = np.array(d[1], dtype=np.float32)
TypeError: float() argument must be a string or a number, not 'map'
Please try to figure out what is problem in your code