Traceback (most recent call last):


 "ernie_encoder.py", line 182, in <module>

main(args)


 "ernie_encoder.py", line 172, in main

np.save(cls_emb_file, total_cls_emb)


 "/home/tjmu/anaconda3/lib/python3.6/site-packages/numpy/lib/npyio.py", line 511, in save

pickle_kwargs=pickle_kwargs)


 "/home/tjmu/anaconda3/lib/python3.6/site-packages/numpy/lib/format.py", line 565, in write_array

version)


 "/home/tjmu/anaconda3/lib/python3.6/site-packages/numpy/lib/format.py", line 335, in _write_array_header

fp.write(header_prefix)
TypeError: write() argument must be str, not bytes
```Traceback (most recent call last):


 "/venv/bin/superset", line 8, in <module>

sys.exit(superset())


 "/venv/lib/python3.7/site-packages/click/core.py", line 829, in __call__

return self.main(*args, **kwargs)


 "/venv/lib/python3.7/site-packages/flask/cli.py", line 586, in main

return super(FlaskGroup, self).main(*args, **kwargs)


 "/venv/lib/python3.7/site-packages/click/core.py", line 782, in main

rv = self.invoke(ctx)


 "/venv/lib/python3.7/site-packages/click/core.py", line 1256, in invoke

Command.invoke(self, ctx)


 "/venv/lib/python3.7/site-packages/click/core.py", line 1066, in invoke

return ctx.invoke(self.callback, **ctx.params)


 "/venv/lib/python3.7/site-packages/click/core.py", line 610, in invoke

return callback(*args, **kwargs)


 "/venv/lib/python3.7/site-packages/click/decorators.py", line 21, in new_func

return f(get_current_context(), *args, **kwargs)


 "/venv/lib/python3.7/site-packages/flask/cli.py", line 425, in decorator

with __ctx.ensure_object(ScriptInfo).load_app().app_context():


 "/venv/lib/python3.7/site-packages/flask/cli.py", line 381, in load_app

app = call_factory(self, self.create_app)


 "/venv/lib/python3.7/site-packages/flask/cli.py", line 119, in call_factory

return app_factory()


 "/venv/lib/python3.7/site-packages/superset/app.py", line 69, in create_app

raise ex


 "/venv/lib/python3.7/site-packages/superset/app.py", line 62, in create_app

app_initializer.init_app()


 "/venv/lib/python3.7/site-packages/superset/app.py", line 548, in init_app

self.configure_cache()


 "/venv/lib/python3.7/site-packages/superset/app.py", line 570, in configure_cache

cache_manager.init_app(self.flask_app)


 "/venv/lib/python3.7/site-packages/superset/utils/cache_manager.py", line 48, in init_app

**app.config["THUMBNAIL_CACHE_CONFIG"],
TypeError: 'function' object is not a mapping
