Skip to content

ValueError: No JSON object could be decoded #1

@ngcthuong

Description

@ngcthuong

I got this error when running your code in Anaconda2 prompt.
Is there any way to fix this.
My System: Window 10, Anaconda 2, python 2.7.

Thanks for your time,

C:\CFRBM-master>make run
THEANO_FLAGS=mode=FAST_RUN,device=gpu,floatX=float32 python cfrbm/user_based.py ubased.json
Using gpu device 0: GeForce GTX 960 (CNMeM is disabled, cuDNN 5005)
Traceback (most recent call last):
  File "cfrbm/user_based.py", line 168, in <module>
    experiments = read_experiment(sys.argv[0])
  File "C:\CFRBM-master\cfrbm\experiments.py", line 7, in read_experiment
    experiments = json.loads(data.read())['experiments']
  File "C:\Users\user4\Anaconda2\lib\json\__init__.py", line 339, in loads
    return _default_decoder.decode(s)
  File "C:\Users\user4\Anaconda2\lib\json\decoder.py", line 364, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "C:\Users\user4\Anaconda2\lib\json\decoder.py", line 382, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
makefile:2: recipe for target 'run' failed
make: *** [run] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions