facebookresearch / DrQA

Reading Wikipedia to Answer Open-Domain Questions
Other
4.48k stars 899 forks source link

interactive.py script hangs for first iteration #257

Open Bibhuti93 opened 4 years ago

Bibhuti93 commented 4 years ago

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 commented 4 years ago

same issue as you

mali19064 commented 4 years ago

but I'm alway like this