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

A problem occurred at runtime #1

Closed
jl109 opened this issue Jul 5, 2021 · 2 comments
Closed

A problem occurred at runtime #1

jl109 opened this issue Jul 5, 2021 · 2 comments

Comments

@jl109
Copy link

jl109 commented Jul 5, 2021

subprocess.CalledProcessError: Command '['/opt/anaconda3/envs/Doc2edag/bin/python', '-u', 'run_dee_task.py', '--local_rank=1', '--resume_latest_cpt', 'True', '--save_cpt_flag', 'True', '--data_dir', './Data', '--exp_dir', './Exps', '--task_name', 'try', '--num_train_epochs', '50', '--train_batch_size', '64', '--gradient_accumulation_steps', '8', '--eval_batch_size', '2', '--cpt_file_name', 'GIT']' returned non-zero exit status 1.

May I ask why this problem is? In addition, I have successfully reproduced Doc2EDAG, but the extraction results of event parameters are all numbers and cannot be visualized. How do you solve this problem

@RunxinXu
Copy link
Owner

RunxinXu commented Jul 7, 2021

Thanks for your attention to our work.
I have received your email, and send email back to respond to your questions.
The error may come from your pytorch/nccl instead of the code.
And the numbers represent either token ids or entity indices. You can see the code in DEEFeature and DocSpanInfo to get the meaning of different fields.

@RunxinXu RunxinXu pinned this issue Jul 7, 2021
@RunxinXu RunxinXu unpinned this issue Jul 7, 2021
@KyrieIrving24
Copy link

I meet the same problem when i use more than one GPU, when i use only one GPU, it is OK.

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

3 participants