Traceback (most recent call last):


 "./tools/train.py", line 161, in <module>

main()


 "./tools/train.py", line 131, in main

cfg.model, train_cfg=cfg.train_cfg, test_cfg=cfg.test_cfg)


 "/root/userfolder/mmsegmentation/mmseg/models/builder.py", line 56, in build_segmentor

return build(cfg, SEGMENTORS, dict(train_cfg=train_cfg, test_cfg=test_cfg))


 "/root/userfolder/mmsegmentation/mmseg/models/builder.py", line 31, in build

return build_from_cfg(cfg, registry, default_args)


 "/root/userfolder/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/mmcv/utils/registry.py", line 171, in build_from_cfg

return obj_cls(**args)


 "/root/userfolder/mmsegmentation/mmseg/models/segmentors/cascade_encoder_decoder.py", line 36, in __init__

pretrained=pretrained)


 "/root/userfolder/mmsegmentation/mmseg/models/segmentors/encoder_decoder.py", line 34, in __init__

self._init_decode_head(decode_head)


 "/root/userfolder/mmsegmentation/mmseg/models/segmentors/cascade_encoder_decoder.py", line 44, in _init_decode_head

self.decode_head.append(builder.build_head(decode_head[i]))


 "/root/userfolder/mmsegmentation/mmseg/models/builder.py", line 46, in build_head

return build(cfg, HEADS)


 "/root/userfolder/mmsegmentation/mmseg/models/builder.py", line 31, in build

return build_from_cfg(cfg, registry, default_args)


 "/root/userfolder/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/mmcv/utils/registry.py", line 171, in build_from_cfg

return obj_cls(**args)


 "/root/userfolder/mmsegmentation/mmseg/models/decode_heads/fcn_head.py", line 31, in __init__

super(FCNHead, self).__init__(**kwargs)
TypeError: __init__() got an unexpected keyword argument 'drop_out_ratio'

Traceback (most recent call last):


 "/home/travis/build/ARM-software/lisa/.lisa-venv-3.5/bin/jupyter-labextension", line 6, in <module>

from jupyterlab.labextensions import main


 "/home/travis/build/ARM-software/lisa/.lisa-venv-3.5/lib/python3.5/site-packages/jupyterlab/labextensions.py", line 16, in <module>

from .commands import (


 "/home/travis/build/ARM-software/lisa/.lisa-venv-3.5/lib/python3.5/site-packages/jupyterlab/commands.py", line 27, in <module>

from jupyterlab_server.process import which, Process, WatchHelper


 "/home/travis/build/ARM-software/lisa/.lisa-venv-3.5/lib/python3.5/site-packages/jupyterlab_server/__init__.py", line 4, in <module>

from .app import LabServerApp


 "/home/travis/build/ARM-software/lisa/.lisa-venv-3.5/lib/python3.5/site-packages/jupyterlab_server/app.py", line 9, in <module>

from .server import ServerApp


 "/home/travis/build/ARM-software/lisa/.lisa-venv-3.5/lib/python3.5/site-packages/jupyterlab_server/server.py", line 14, in <module>

from notebook.base.handlers import (


 "/home/travis/build/ARM-software/lisa/.lisa-venv-3.5/lib/python3.5/site-packages/notebook/base/handlers.py", line 30, in <module>

from tornado import web, gen, escape, httputil


 "/home/travis/build/ARM-software/lisa/.lisa-venv-3.5/lib/python3.5/site-packages/tornado/web.py", line 84, in <module>

from tornado.concurrent import Future, future_set_result_unless_cancelled


 "/home/travis/build/ARM-software/lisa/.lisa-venv-3.5/lib/python3.5/site-packages/tornado/concurrent.py", line 175, in <module>

future: Union["futures.Future[_T]", "Future[_T]"], value: _T


 "/usr/lib/python3.5/typing.py", line 552, in __getitem__

dict(self.__dict__), parameters, _root=True)


 "/usr/lib/python3.5/typing.py", line 512, in __new__

for t2 in all_params - {t1} if not isinstance(t2, TypeVar)):


 "/usr/lib/python3.5/typing.py", line 512, in <genexpr>

for t2 in all_params - {t1} if not isinstance(t2, TypeVar)):


 "/usr/lib/python3.5/typing.py", line 190, in __subclasscheck__

self._eval_type(globalns, localns)


 "/usr/lib/python3.5/typing.py", line 177, in _eval_type

eval(self.__forward_code__, globalns, localns),


 "<string>", line 1, in <module>
TypeError: 'type' object is not subscriptable
