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

interactive.py script hangs for first iteration #257

Open
Bibhuti93 opened this issue Jul 26, 2020 · 2 comments
Open

interactive.py script hangs for first iteration #257

Bibhuti93 opened this issue Jul 26, 2020 · 2 comments

Comments

@Bibhuti93
Copy link

When I am trying to invoke scripts/pipeline/interactive.py using default tokenizer as CoreNLP the program gets stuck as shown in the screenshot below.

image

Please find below the screenshot of exception when I terminate the program with Ctrl+C
image

image

image

The issue gets resolved when I am terminating the interactive shell using Ctrl+C and again invoking the "process" function. During the second invocation the process works fine as expected.

Could you please help me in identifying the cause for this so that the program can be invoked in the first go ?

Please find other OS Parameters below:
(parlai) root@omega:/Omega/DrQA/scripts/pipeline# lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
Address sizes: 46 bits physical, 48 bits virtual
CPU(s): 8
On-line CPU(s) list: 0-7
Thread(s) per core: 2
Core(s) per socket: 4
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 63
Model name: Intel(R) Xeon(R) CPU @ 2.30GHz
Stepping: 0
CPU MHz: 2300.000
BogoMIPS: 4600.00
Hypervisor vendor: KVM
Virtualization type: full
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 46080K
NUMA node0 CPU(s): 0-7
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc cpuid tsc_known_freq pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm invpcid_single pti ssbd ibrs ibpb stibp fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt arat md_clear arch_capabilities

Kindly let me know if any further details will be required from my side.

@mali19064
Copy link

same issue as you

@mali19064
Copy link

but I'm alway like this

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