Traceback (most recent call last):


 "football.py", line 17, in <module>

e.reset()


 "/home/hongyu/anaconda3/envs/pearl/lib/python3.5/site-packages/gym/core.py", line 327, in reset

return self.env.reset()


 "/home/hongyu/anaconda3/envs/pearl/lib/python3.5/site-packages/gym/core.py", line 317, in reset

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


 "/home/hongyu/anaconda3/envs/pearl/lib/python3.5/site-packages/gym/core.py", line 318, in reset

return self.observation(observation)


 "/home/hongyu/anaconda3/envs/pearl/lib/python3.5/site-packages/gfootball/env/wrappers.py", line 135, in observation

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

Traceback (most recent call last):


 "train.py", line 214, in <module>

main(args)


 "train.py", line 98, in main

val_loss = validate(val_loader, net, criterion, optimizer, epoch, train_args, restore_transform, visualize)


 "train.py", line 190, in validate

writer.add_image(snapshot_name, val_visual)


 "/home/lxt/anaconda3/lib/python3.6/site-packages/tensorboard/writer.py", line 221, in add_image

self.file_writer.add_summary(image(tag, img_tensor))


 "/home/lxt/anaconda3/lib/python3.6/site-packages/tensorboard/summary.py", line 174, in image

tensor = np.ndarray(tensor, dtype=np.float32)
TypeError: 'torch.FloatTensor' object does not support indexing
