I'm trying to complete this project before my due date but for some time now, I've been facing issues regarding keras import.
I've made sure that I'm using the correct environment for conda. But still the issue remains the same.
---------------------------------------------------------------------------
JSONDecodeError Traceback (most recent call last)
<ipython-input-1-42edb271ea64> in <module>()
----> 1 from keras.utils import np_utils
/Users/eklavya/anaconda/envs/aind-dog/lib/python3.5/site-packages/keras/__init__.py in <module>()
1 from __future__ import absolute_import
2
----> 3 from . import activations
4 from . import applications
5 from . import backend
/Users/eklavya/anaconda/envs/aind-dog/lib/python3.5/site-packages/keras/activations.py in <module>()
1 from __future__ import absolute_import
2 import six
----> 3 from . import backend as K
4 from .utils.generic_utils import deserialize_keras_object
5
/Users/eklavya/anaconda/envs/aind-dog/lib/python3.5/site-packages/keras/backend/__init__.py in <module>()
26 _config_path = os.path.expanduser(os.path.join(_keras_dir, 'keras.json'))
27 if os.path.exists(_config_path):
---> 28 _config = json.load(open(_config_path))
29 _floatx = _config.get('floatx', floatx())
30 assert _floatx in {'float16', 'float32', 'float64'}
/Users/eklavya/anaconda/envs/aind-dog/lib/python3.5/json/__init__.py in load(fp, cls, object_hook, parse_float, parse_int, parse_constant, object_pairs_hook, **kw)
266 cls=cls, object_hook=object_hook,
267 parse_float=parse_float, parse_int=parse_int,
--> 268 parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
269
270
/Users/eklavya/anaconda/envs/aind-dog/lib/python3.5/json/__init__.py in loads(s, encoding, cls, object_hook, parse_float, parse_int, parse_constant, object_pairs_hook, **kw)
317 parse_int is None and parse_float is None and
318 parse_constant is None and object_pairs_hook is None and not kw):
--> 319 return _default_decoder.decode(s)
320 if cls is None:
321 cls = JSONDecoder
/Users/eklavya/anaconda/envs/aind-dog/lib/python3.5/json/decoder.py in decode(self, s, _w)
337
338 """
--> 339 obj, end = self.raw_decode(s, idx=_w(s, 0).end())
340 end = _w(s, end).end()
341 if end != len(s):
/Users/eklavya/anaconda/envs/aind-dog/lib/python3.5/json/decoder.py in raw_decode(self, s, idx)
353 """
354 try:
--> 355 obj, end = self.scan_once(s, idx)
356 except StopIteration as err:
357 raise JSONDecodeError("Expecting value", s, err.value) from None
JSONDecodeError: Expecting property name enclosed in double quotes: line 3 column 5 (char 31)
Hi Udacity team :)
I'm trying to complete this project before my due date but for some time now, I've been facing issues regarding keras import.
I've made sure that I'm using the correct environment for conda. But still the issue remains the same.
I created the conda environment using
conda env create -f requirements/dog-mac.ymlTracelog