NTMC-Community / MatchZoo

Facilitating the design, comparison and sharing of deep text matching models.
Apache License 2.0
3.85k stars 900 forks source link

"Unhashable type" error while preprocessing using BasicPreprocessor #805

Closed kasramsh closed 4 years ago

kasramsh commented 5 years ago

Describe the Question

Hi! I am trying to use your awesome package for document-retrieval. Tried to run toy examples in tutorial to get my hands on but actually it didn't run as expected.

Using BasicPreprocessor, I get a "TypeError: unhashable type: 'list'". As seen in the attached images, right before using the preprocessor, my data looks exactly as shown in the tutorial. What could be the issue? my MZ version is 2.2.0

PS: I am using matchzoo on Amazon AWS SageMaker (conda_tensorflow_py36 kernel). Could it be a problem by any chance?

Thanks in advance and good luck with the great job!

prepare_data data_looks_right error_raises

jz95 commented 4 years ago

Hi guy, I think i got the same problem just like you... the Unhashbale list problem is not only limited to the BasicPreprocessor...

Chriskuei commented 4 years ago

https://github.com/NTMC-Community/MatchZoo-py/issues/106

jz95 commented 4 years ago

NTMC-Community/MatchZoo-py#106

this works, cheers guy