Traceback (most recent call last):


 "C:/<removed>/sequence_model_mc_bug.py", line 10, in <module>

pos = nx.drawing.nx_pydot.graphviz_layout(G, prog='dot')


 "C:\<removed>\anaconda3\envs\py36\lib\site-packages\networkx\drawing\nx_pydot.py", line 268, in graphviz_layout

return pydot_layout(G=G, prog=prog, root=root)


 "C:\<removed>\anaconda3\envs\py36\lib\site-packages\networkx\drawing\nx_pydot.py", line 343, in pydot_layout

node = node[0]
IndexError: list index out of range
Traceback (most recent call last):


 "E:/TinyBERT/task_distill_training.py", line 1123, in <module>

main()


 "E:/TinyBERT/task_distill_training.py", line 888, in main

teacher_model = TinyBertForSequenceClassification.from_pretrained(args.teacher_model, num_labels=num_labels)


 "E:\TinyBERT\transformer\modeling.py", line 702, in from_pretrained

return load_tf_weights_in_bert(model, weights_path)


 "E:\TinyBERT\transformer\modeling.py", line 112, in load_tf_weights_in_bert

pointer = pointer[num]


 "C:\Users\ThinkPad\Anaconda3\envs\python36\lib\site-packages\torch\nn\modules\container.py", line 137, in __getitem__

return self._modules[self._get_abs_string_index(idx)]


 "C:\Users\ThinkPad\Anaconda3\envs\python36\lib\site-packages\torch\nn\modules\container.py", line 128, in _get_abs_string_index

raise IndexError('index {} is out of range'.format(idx))
IndexError: index 10 is out of range
