pcyin / tranX

A general-purpose neural semantic parser for mapping natural language queries into machine executable code
Apache License 2.0
460 stars 111 forks source link

No “wikisql_parser” #38

Closed realningzheng closed 3 years ago

realningzheng commented 3 years ago

Hello,

Thanks for releasing the code! When I was running train.sh in wikisql dataset, it throws an error that no keyword 'wikisql_parser' And I also found that only default parser exists in the dictionary.

The error is showed below:

Traceback (most recent call last): File "exp.py", line 572, in train(args) File "exp.py", line 60, in train parser_cls = Registrable.by_name(args.parser) # TODO: add arg File "/home/ningzheng/tranX/common/registerable.py", line 21, in by_name return Registrable.registered_components[name] KeyError: 'wikisql_parser'