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

json.decoder.JSONDecodeError: Expecting value: line 12 column 16 (char 320) #48

Open
CleoShen opened this issue May 8, 2023 · 3 comments

Comments

@CleoShen
Copy link

CleoShen commented May 8, 2023

Run a test train on my data, and had error:
Traceback (most recent call last): File "/home/groups/brunger/software/cryoCARE/cryocare_env/bin/cryoCARE_train.py", line 62, in <module> main() File "/home/groups/brunger/software/cryoCARE/cryocare_env/bin/cryoCARE_train.py", line 17, in main config = json.load(f) File "/share/software/user/open/python/3.9.0/lib/python3.9/json/__init__.py", line 293, in load return loads(fp.read(), File "/share/software/user/open/python/3.9.0/lib/python3.9/json/__init__.py", line 346, in loads return _default_decoder.decode(s) File "/share/software/user/open/python/3.9.0/lib/python3.9/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/share/software/user/open/python/3.9.0/lib/python3.9/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 12 column 16 (char 320)
Output file is:
Fire in the hole! Computing normalization parameters: Output directory already exists. Please choose a new output directory or set 'overwrite' to 'true' in your configuration file.

@asarnow
Copy link

asarnow commented Jul 21, 2023

I guess something like True or False should be quoted, or there is an extra trailing comma somewhere.

@Amy1809
Copy link

Amy1809 commented Jul 9, 2024

Hi I have the same error (output file), may I ask if you have any solutions on this now?

@asarnow
Copy link

asarnow commented Jul 11, 2024

As above, believe this is a syntax error in your config 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

3 participants