Traceback (most recent call last):


 "tools/train.py", line 289, in <module>

train(opt)


 "tools/train.py", line 242, in train

val_loss, predictions, lang_stats = eval_utils.eval_split(


 "/home/ordinary/self-critical.pytorch/captioning/utils/eval_utils.py", line 171, in eval_split

seq, seq_logprobs = model(fc_feats, att_feats, att_masks, opt=tmp_eval_kwargs, mode='sample')


 "/home/ordinary/miniconda3/lib/python3.8/site-packages/torch/nn/modules/module.py", line 727, in _call_impl

result = self.forward(*input, **kwargs)


 "/home/ordinary/miniconda3/lib/python3.8/site-packages/torch/nn/parallel/data_parallel.py", line 161, in forward

outputs = self.parallel_apply(replicas, inputs, kwargs)


 "/home/ordinary/miniconda3/lib/python3.8/site-packages/torch/nn/parallel/data_parallel.py", line 171, in parallel_apply

return parallel_apply(replicas, inputs, kwargs, self.device_ids[:len(replicas)])


 "/home/ordinary/miniconda3/lib/python3.8/site-packages/torch/nn/parallel/parallel_apply.py", line 86, in parallel_apply

output.reraise()


 "/home/ordinary/miniconda3/lib/python3.8/site-packages/torch/_utils.py", line 428, in reraise

raise self.exc_type(msg)
TypeError: Caught TypeError in replica 7 on device 7.

Traceback (most recent call last):


 "/home/dan/IDEs/pycharm-2017.2.4/helpers/pydev/pydevd.py", line 1599, in <module>

globals = debugger.run(setup['file'], None, None, is_module)


 "/home/dan/IDEs/pycharm-2017.2.4/helpers/pydev/pydevd.py", line 1026, in run

pydev_imports.execfile(file, globals, locals)
# execute the script


 "/home/dan/PycharmProjects/NFL_Stats_Importer/generate_deep_NFL_stats.py", line 3, in <module>

games = nflgame.games(2017, week=9)


 "/home/dan/NFLGame_virt_env/local/lib/python2.7/site-packages/nflgame/__init__.py", line 229, in games

return list(games_gen(year, week, home, away, kind, started))
TypeError: 'NoneType' object is not iterable
