github: Traceback (most recent call last):


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

train(hyp, opt, device, tb_writer, wandb)


 "train.py", line 64, in train

check_dataset(data_dict)
# check


 "/home/chengyuhong/yolov3/utils/general.py", line 106, in check_dataset

val, s = dict.get('val'), dict.get('download')
AttributeError: 'str' object has no attribute 'get'

Traceback (most recent call last):


 "/home/rs/PycharmProjects/pyannote-audio/tb.py", line 13, in <module>

writer.add_graph(model)


 "/home/rs/PycharmProjects/pyannote-audio/venv/lib/python3.8/site-packages/torch/utils/tensorboard/writer.py", line 707, in add_graph

self._get_file_writer().add_graph(graph(model, input_to_model, verbose))


 "/home/rs/PycharmProjects/pyannote-audio/venv/lib/python3.8/site-packages/torch/utils/tensorboard/_pytorch_graph.py", line 285, in graph

trace = torch.jit.trace(model, args)


 "/home/rs/PycharmProjects/pyannote-audio/venv/lib/python3.8/site-packages/torch/jit/__init__.py", line 873, in trace

return trace_module(func, {'forward': example_inputs}, None,


 "/home/rs/PycharmProjects/pyannote-audio/venv/lib/python3.8/site-packages/torch/jit/__init__.py", line 1021, in trace_module

module = make_module(mod, _module_class, _compilation_unit)


 "/home/rs/PycharmProjects/pyannote-audio/venv/lib/python3.8/site-packages/torch/jit/__init__.py", line 703, in make_module

elif torch._jit_internal.module_has_exports(mod):


 "/home/rs/PycharmProjects/pyannote-audio/venv/lib/python3.8/site-packages/torch/_jit_internal.py", line 438, in module_has_exports

item = getattr(mod, name)


 "/home/rs/PycharmProjects/pyannote-audio/venv/lib/python3.8/site-packages/torch/nn/modules/module.py", line 593, in __getattr__

raise AttributeError("'{}' object has no attribute '{}'".format(
AttributeError: 'PyanNet' object has no attribute 'dimension'
