Comments (5)
from eeqa.
I'm facing the same problem as you. How did you solve it?
from eeqa.
from eeqa.
OMG! I'm facing the same problem as you. How did you solve it?
from eeqa.
Please refer to these images on how to fix the JSONDecodeError. If you can't see the attached images, then simply change the Line 749 of parse_ace_event.py from g.write(json.dumps(js, default=int, indent = 4) + "\n") to g.write(json.dumps(js, default=int, indent = None) + "\n"). Best regards.
…
------------------ 原始邮件 ------------------ 发件人: "xinyadu/eeqa" @.>; 发送时间: 2022年5月6日(星期五) 上午9:50 @.>; @.@.>; 主题: Re: [xinyadu/eeqa] convert_example.py (Issue #14) I'm sorry to bother you,too. I didn't receive your specific operation.I think my description is inaccurate。 Traceback (most recent call last): File "scripts/data/ace-event/convert_examples.py", line 10, in <module> line = json.loads(line) File "/root/miniconda3/lib/python3.7/json/init.py", line 348, in loads return _default_decoder.decode(s) File "/root/miniconda3/lib/python3.7/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/root/miniconda3/lib/python3.7/json/decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 2 column 1 (char 2) I face the same JSONDecoderError as you did at the beginning. I hope your answer can help me。 Best wishes。 ------------------ 原始邮件 ------------------ 发件人: "xinyadu/eeqa" @.>; 发送时间: 2022年5月5日(星期四) 晚上8:37 @.>; @.@.>; 主题: Re: [xinyadu/eeqa] convert_example.py (Issue #14) 这样改:
------------------&nbsp;原始邮件&nbsp;------------------ 发件人: "xinyadu/eeqa" @.&gt;; 发送时间:&nbsp;2022年5月5日(星期四) 下午2:46 @.&gt;; @.@.&gt;; 主题:&nbsp;Re: [xinyadu/eeqa] convert_example.py (Issue #14) I'm facing the same problem as you. How did you solve it? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.&gt; — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.> — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
I have solved it, thanks for your sharing!
from eeqa.
Related Issues (16)
- What does gold_file refer to HOT 2
- RuntimeError: cublas runtime error : the GPU program failed to execute at /pytorch/aten/src/THC/THCBlas.cu:331 HOT 3
- reproduce HOT 2
- 中文指标一直上不去 metric is allways bad in Chinese HOT 1
- The paras of BertForQuestionAnswering_withIfTriggerEmbedding used in train is right?
- How to download SciERC and GENIA datasets ? HOT 1
- Do inference using trained trigger_qa model? HOT 1
- 数据集中触发词都只占一个位吗?
- why add a hardcoded 12? HOT 5
- why only one event considered from the pre-processinng step.
- Why can't I reproduce the result in the paper? HOT 2
- can't run pre-processinng code. HOT 7
- Multi-token event triggers in ACE HOT 1
- len(start_token) != 1 in parse_ace_event.py HOT 5
- 对于训练机有什么要求 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eeqa.