Traceback (most recent call last):


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

var=opt.var,


 "train.py", line 93, in train

load_weights(model, def_weight_file)


 "/home/eleicoto/yolov3/models.py", line 399, in load_weights

conv_b = torch.from_numpy(weights[ptr:ptr + num_b]).view_as(conv_layer.bias)
RuntimeError: shape '[39]' is invalid for input of size 0

Traceback (most recent call last):


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

from data.data_loader import AudioDataLoader, SpectrogramDataset, BucketingSampler, DistributedBucketingSampler


 "/home/eylabadmin/deepspeech.pytorch/data/__init__.py", line 1, in <module>

from . import data_loader


 "/home/eylabadmin/deepspeech.pytorch/data/data_loader.py", line 13, in <module>

import torchaudio


 "/usr/local/lib/python3.6/dist-packages/torchaudio-0.2-py3.6-linux-x86_64.egg/torchaudio/__init__.py", line 7, in <module>

from torchaudio import transforms, datasets, kaldi_io, sox_effects, legacy, compliance


 "/usr/local/lib/python3.6/dist-packages/torchaudio-0.2-py3.6-linux-x86_64.egg/torchaudio/transforms.py", line 6, in <module>

from . import functional as F


 "/usr/local/lib/python3.6/dist-packages/torchaudio-0.2-py3.6-linux-x86_64.egg/torchaudio/functional.py", line 108, in <module>

@torch.jit.script


 "/home/eylabadmin/.local/lib/python3.6/site-packages/torch/jit/__init__.py", line 824, in script

fn = torch._C._jit_script_compile(ast, _rcb, get_default_args(obj))


 "/home/eylabadmin/.local/lib/python3.6/site-packages/torch/jit/annotations.py", line 55, in get_signature

return parse_type_line(type_line)


 "/home/eylabadmin/.local/lib/python3.6/site-packages/torch/jit/annotations.py", line 97, in parse_type_line

raise RuntimeError("Failed to parse the argument list of a type annotation: {}".format(str(e)))
RuntimeError: Failed to parse the argument list of a type annotation: name 'Optional' is not defined.
