Traceback (most recent call last):



 "src/models/tune.py", line 26, in <module>


run_fn()



 "src/models/tune.py", line 21, in run_fn


config={"param": ray.tune.grid_search([0, 1])}



 "/home/ec2-user/anaconda3/envs/tensorflow_p27/lib/python2.7/site-packages/ray/tune/tune.py", line 235, in run


runner.step()



 "/home/ec2-user/anaconda3/envs/tensorflow_p27/lib/python2.7/site-packages/ray/tune/trial_runner.py", line 268, in step


next_trial = self._get_next_trial()
# blocking



 "/home/ec2-user/anaconda3/envs/tensorflow_p27/lib/python2.7/site-packages/ray/tune/trial_runner.py", line 431, in _get_next_trial

self._update_trial_queue(blocking=wait_for_trial)



 "/home/ec2-user/anaconda3/envs/tensorflow_p27/lib/python2.7/site-packages/ray/tune/trial_runner.py", line 565, in _update_trial_queue 

trials = self._search_alg.next_trials()



 "/home/ec2-user/anaconda3/envs/tensorflow_p27/lib/python2.7/site-packages/ray/tune/suggest/basic_variant.py", line 57, in next_trials


trials = list(self._trial_generator)



 "/home/ec2-user/anaconda3/envs/tensorflow_p27/lib/python2.7/site-packages/ray/tune/suggest/basic_variant.py", line 87, in _generate_trials


experiment_tag=experiment_tag)



 "/home/ec2-user/anaconda3/envs/tensorflow_p27/lib/python2.7/site-packages/ray/tune/config_parser.py", line 218, in create_trial_from_spec


**trial_kwargs)



 "/home/ec2-user/anaconda3/envs/tensorflow_p27/lib/python2.7/site-packages/ray/tune/trial.py", line 279, in __init__


or self._get_trainable_cls().default_resource_request(self.config))



 "/home/ec2-user/anaconda3/envs/tensorflow_p27/lib/python2.7/site-packages/ray/tune/trial.py", line 533, in _get_trainable_cls


ray.tune.registry.TRAINABLE_CLASS, self.trainable_name)



 "/home/ec2-user/anaconda3/envs/tensorflow_p27/lib/python2.7/site-packages/ray/tune/registry.py", line 107, in get


return pickle.loads(value)



 "/home/ec2-user/anaconda3/envs/tensorflow_p27/lib/python2.7/pickle.py", line 1388, in loads


return Unpickler(file).load()



 "/home/ec2-user/anaconda3/envs/tensorflow_p27/lib/python2.7/pickle.py", line 864, in load


dispatch[key](self)



 "/home/ec2-user/anaconda3/envs/tensorflow_p27/lib/python2.7/pickle.py", line 1089, in load_newobj


obj = cls.__new__(cls, *args)

TypeError: Required argument 'code' (pos 1) not found


Traceback (most recent call last):


 "./flow", line 42, in <module>

tfnet = TFNet(FLAGS)


 "/home/hankwu/DeepLearning/darkflow/net/build.py", line 34, in __init__

darknet = Darknet(FLAGS)


 "/home/hankwu/DeepLearning/darkflow/dark/darknet.py", line 17, in __init__

src_parsed = self.parse_cfg(self.src_cfg, FLAGS)


 "/home/hankwu/DeepLearning/darkflow/dark/darknet.py", line 68, in parse_cfg

for i, info in enumerate(cfg_layers):


 "/home/hankwu/DeepLearning/darkflow/cfg/process.py", line 294, in cfg_yielder

lx = layers[x]; xtype = lx['type']
TypeError: list indices must be integers, not unicode
