Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Picard Client Launch Issue #16

Open
Rautmare-Sneha opened this issue May 16, 2023 · 1 comment
Open

Picard Client Launch Issue #16

Rautmare-Sneha opened this issue May 16, 2023 · 1 comment

Comments

@Rautmare-Sneha
Copy link

Rautmare-Sneha commented May 16, 2023

Hi

I am executing the Eval code on the spider data with picard using docker image

  1. provided 777 permission to mentioned 2 directories
  2. 'make eval'
  3. inside docker -> Install stanza package
  4. python3 seq2seq/eval_run_seq2seq.py configs/spider/eval_spider_rasat_4160.json

After preprocessing , generating relation i got following error :

`
Use relation model.
Traceback (most recent call last):
File "seq2seq/eval_run_seq2seq.py", line 309, in
main()
File "seq2seq/eval_run_seq2seq.py", line 197, in main
model = model_cls_wrapper(T5ForConditionalGeneration).from_pretrained(
File "seq2seq/eval_run_seq2seq.py", line 184, in
model_cls=model_cls, picard_args=picard_args, tokenizer=tokenizer, schemas=dataset_splits.schemas
File "/app/seq2seq/utils/custom_picard_model_wrapper.py", line 482, in with_picard
asyncio.run(_init_picard(), debug=False)
File "/opt/conda/lib/python3.7/asyncio/runners.py", line 43, in run
return loop.run_until_complete(main)
File "/opt/conda/lib/python3.7/asyncio/base_events.py", line 587, in run_until_complete
return future.result()
File "/app/seq2seq/utils/custom_picard_model_wrapper.py", line 126, in _init_picard
await _register_schema(db_id=db_id, db_info=db_info, picard_client=client)
File "/app/seq2seq/utils/custom_picard_model_wrapper.py", line 132, in _register_schema
await picard_client.registerSQLSchema(db_id, sql_schema)
thrift.py3.exceptions.TransportError: (<TransportErrorType.UNKNOWN: 0>, 'Channel is !good()', 0, <TransportOptions.0: 0>)

`

Enviornment : Macbook
It would be really helpful if you can suggest on this : @Monstarrr @JiexingQi @hantek

@JiexingQi
Copy link
Collaborator

I did not meet this error yet, maybe you can check the PICARD version and ask in the corresponding repo. https://github.com/ServiceNow/picard

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants