Traceback (most recent call last):


 "main.py", line 228, in <module>

tf.app.run(main)


 "/data/app/Anaconda/envs/resume/lib/python3.6/site-packages/tensorflow/python/platform/app.py", line 124, in run

_sys.exit(main(argv))


 "main.py", line 222, in main

train()


 "main.py", line 153, in train

train_manager = BatchManager(train_data, FLAGS.batch_size)


 "/data/app/resumeSpider/Information-Extraction-Chinese/NER_IDCNN_CRF/data_utils.py", line 285, in __init__

self.batch_data = self.sort_and_pad(data, batch_size)


 "/data/app/resumeSpider/Information-Extraction-Chinese/NER_IDCNN_CRF/data_utils.py", line 293, in sort_and_pad

batch_data.append(self.pad_data(sorted_data[i*batch_size : (i+1)*batch_size]))
TypeError: slice indices must be integers or None or have an __index__ method
Traceback (most recent call last):


 "/home/rui/Documents/codes/pycharm/gfootballwrap/test.py", line 37, in <module>

main()


 "/home/rui/Documents/codes/pycharm/gfootballwrap/test.py", line 27, in main

gfenv.reset()


 "/home/rui/.local/lib/python3.5/site-packages/gym/core.py", line 270, in reset

return self.env.reset(**kwargs)


 "/home/rui/.local/lib/python3.5/site-packages/gym/core.py", line 257, in reset

observation = self.env.reset(**kwargs)


 "/home/rui/.local/lib/python3.5/site-packages/gym/core.py", line 258, in reset

return self.observation(observation)


 "/home/rui/.local/lib/python3.5/site-packages/gfootball/env/wrappers.py", line 151, in observation

frame = obs['frame']
TypeError: list indices must be integers or slices, not str
