Traceback (most recent call last):



 "<ipython-input-20-0d129181776f>", line 1, in <module>

sns.jointplot(x='A', y='NOT_A_VALID_COLUMN', data=df)



 "C:\Users\...\Anaconda3\lib\site-packages\seaborn\distributions.py", line 798, in jointplot

xlim=xlim, ylim=ylim)



 "C:\Users\...\Anaconda3\lib\site-packages\seaborn\axisgrid.py", line 1661, in __init__

y = y[not_na]

TypeError: string indices must be integers

Traceback (most recent call last):


 "bert_train.py", line 10, in <module>

bs.train()


 "/data0/home/jinguo3/workspace/jinguo3/bert/bert_demo/bert-utils/similarity.py", line 627, in train

estimator.train(input_fn=train_input_fn, max_steps=num_train_steps)


 "/data0/home/jinguo3/anaconda2/lib/python2.7/site-packages/tensorflow/python/estimator/estimator.py", line 354, in train

loss = self._train_model(input_fn, hooks, saving_listeners)


 "/data0/home/jinguo3/anaconda2/lib/python2.7/site-packages/tensorflow/python/estimator/estimator.py", line 1207, in _train_model

return self._train_model_default(input_fn, hooks, saving_listeners)


 "/data0/home/jinguo3/anaconda2/lib/python2.7/site-packages/tensorflow/python/estimator/estimator.py", line 1237, in _train_model_default

features, labels, model_fn_lib.ModeKeys.TRAIN, self.config)


 "/data0/home/jinguo3/anaconda2/lib/python2.7/site-packages/tensorflow/python/estimator/estimator.py", line 1195, in _call_model_fn

model_fn_results = self._model_fn(features=features, **kwargs)


 "/data0/home/jinguo3/workspace/jinguo3/bert/bert_demo/bert-utils/similarity.py", line 203, in model_fn

num_labels, use_one_hot_embeddings)
TypeError: unbound method create_model() must be called with BertSim instance as first argument (got BertConfig instance instead)
