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

No JSON object could be decoded #17

Open
mingchuan123 opened this issue Oct 26, 2017 · 1 comment
Open

No JSON object could be decoded #17

mingchuan123 opened this issue Oct 26, 2017 · 1 comment

Comments

@mingchuan123
Copy link

Hi there, I just got an error below when trying to run the code on the mac. Can you give some hints? Thanks.

Using Tensorflow 1.1.0
Traceback (most recent call last):
  File "run_tracker_evaluation.py", line 174, in <module>
    sys.exit(main())
  File "run_tracker_evaluation.py", line 16, in main
    hp, evaluation, run, env, design = parse_arguments()
  File "/Users/zhaomingchuan/siamfc-tf/src/parse_arguments.py", line 10, in parse_arguments
    evaluation = json.load(json_file)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 290, in load
    **kw)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 338, in loads
    return _default_decoder.decode(s)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 366, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 384, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
@jvlmdr
Copy link
Collaborator

jvlmdr commented Oct 27, 2017

The error is coming from here:

evaluation = json.load(json_file)

Please post your parameters/evaluation.json file?

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