Traceback (most recent call last):


 "E:/Src/trendstone-git/src/learner-v2/main.py", line 140, in <module>

agent.fit(env, nb_steps=500000, visualize=False, verbose=2)


 "E:\Src\keras-rl-git\rl\core.py", line 185, in fit

metrics = self.backward(reward, terminal=done)


 "E:\Src\keras-rl-git\rl\agents\dqn.py", line 314, in backward

metrics = self.trainable_model.train_on_batch(ins + [targets, masks], [dummy_targets, targets])


 "C:\Anaconda3\lib\site-packages\keras\engine\training.py", line 1882, in train_on_batch

self._make_train_function()


 "C:\Anaconda3\lib\site-packages\keras\engine\training.py", line 990, in _make_train_function

loss=self.total_loss)
TypeError: get_updates() missing 1 required positional argument: 'constraints'

Traceback (most recent call last):


 "infoga.py", line 104, in <module>

infoga().main()


 "infoga.py", line 98, in main

data(i,json.loads(self.shodan(i)),email,self.verbose)


 "/usr/lib/python3.5/json/__init__.py", line 312, in loads

s.__class__.__name__))
TypeError: the JSON object must be str, not 'bytes'
