Traceback (most recent call last):


 "/root/anaconda3/bin/mmtomodel", line 10, in <module>

sys.exit(_main())


 "/root/anaconda3/lib/python3.7/site-packages/mmdnn/conversion/_script/dump_code.py", line 79, in _main

ret = dump_code(args.framework, args.inputNetwork, args.inputWeight, args.outputModel, args.dump_tag)


 "/root/anaconda3/lib/python3.7/site-packages/mmdnn/conversion/_script/dump_code.py", line 32, in dump_code

save_model(MainModel, network_filepath, weight_filepath, dump_filepath)


 "/root/anaconda3/lib/python3.7/site-packages/mmdnn/conversion/pytorch/saver.py", line 5, in save_model

model = MainModel.KitModel(weight_filepath)


 "Pytorch_VGGFACE_IR.py", line 27, in __init__

self.conv1_1 = self.__conv(2, name='conv1_1', in_channels=3, out_channels=64, kernel_size=(3, 3), stride=(1, 1), groups=1, bias=True)


 "Pytorch_VGGFACE_IR.py", line 129, in __conv

layer.state_dict()['bias'].copy_(torch.from_numpy(__weights_dict[name]['bias']))
RuntimeError: output with shape [64] doesn't match the broadcast shape [1, 1, 1, 64]

Traceback (most recent call last):


 "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap

self.run()


 "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/multiprocessing/process.py", line 99, in run

self._target(*self._args, **self._kwargs)


 "/Users/michael/src/private/trvmp-api/venv/lib/python3.7/site-packages/uvicorn/subprocess.py", line 61, in subprocess_started

target(sockets=sockets)


 "/Users/michael/src/private/trvmp-api/venv/lib/python3.7/site-packages/uvicorn/main.py", line 382, in run

loop.run_until_complete(self.serve(sockets=sockets))


 "uvloop/loop.pyx", line 1456, in uvloop.loop.Loop.run_until_complete


 "/Users/michael/src/private/trvmp-api/venv/lib/python3.7/site-packages/uvicorn/main.py", line 389, in serve

config.load()


 "/Users/michael/src/private/trvmp-api/venv/lib/python3.7/site-packages/uvicorn/config.py", line 288, in load

self.loaded_app = import_from_string(self.app)


 "/Users/michael/src/private/trvmp-api/venv/lib/python3.7/site-packages/uvicorn/importer.py", line 20, in import_from_string

module = importlib.import_module(module_str)


 "/Users/michael/src/private/trvmp-api/venv/lib/python3.7/importlib/__init__.py", line 127, in import_module

return _bootstrap._gcd_import(name[level:], package, level)


 "<frozen importlib._bootstrap>", line 1006, in _gcd_import


 "<frozen importlib._bootstrap>", line 983, in _find_and_load


 "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked


 "<frozen importlib._bootstrap>", line 677, in _load_unlocked


 "<frozen importlib._bootstrap_external>", line 728, in exec_module


 "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed


 "./app/main_2.py", line 155, in <module>

async def read_users_me(current_user: User = Depends(get_current_active_user)):


 "/Users/michael/src/private/trvmp-api/venv/lib/python3.7/site-packages/fastapi/routing.py", line 487, in decorator

callbacks=callbacks,


 "/Users/michael/src/private/trvmp-api/venv/lib/python3.7/site-packages/fastapi/routing.py", line 431, in add_api_route

callbacks=callbacks,


 "/Users/michael/src/private/trvmp-api/venv/lib/python3.7/site-packages/fastapi/routing.py", line 334, in __init__

self.dependant = get_dependant(path=self.path_format, call=self.endpoint)


 "/Users/michael/src/private/trvmp-api/venv/lib/python3.7/site-packages/fastapi/dependencies/utils.py", line 268, in get_dependant

param=param, path=path, security_scopes=security_scopes


 "/Users/michael/src/private/trvmp-api/venv/lib/python3.7/site-packages/fastapi/dependencies/utils.py", line 107, in get_param_sub_dependant

security_scopes=security_scopes,


 "/Users/michael/src/private/trvmp-api/venv/lib/python3.7/site-packages/fastapi/dependencies/utils.py", line 143, in get_sub_dependant

use_cache=depends.use_cache,


 "/Users/michael/src/private/trvmp-api/venv/lib/python3.7/site-packages/fastapi/dependencies/utils.py", line 268, in get_dependant

param=param, path=path, security_scopes=security_scopes


 "/Users/michael/src/private/trvmp-api/venv/lib/python3.7/site-packages/fastapi/dependencies/utils.py", line 107, in get_param_sub_dependant

security_scopes=security_scopes,


 "/Users/michael/src/private/trvmp-api/venv/lib/python3.7/site-packages/fastapi/dependencies/utils.py", line 143, in get_sub_dependant

use_cache=depends.use_cache,


 "/Users/michael/src/private/trvmp-api/venv/lib/python3.7/site-packages/fastapi/dependencies/utils.py", line 277, in get_dependant

param=param, default_field_info=params.Query, param_name=param_name


 "/Users/michael/src/private/trvmp-api/venv/lib/python3.7/site-packages/fastapi/dependencies/utils.py", line 374, in get_param_field

field_info=field_info,


 "/Users/michael/src/private/trvmp-api/venv/lib/python3.7/site-packages/pydantic/fields.py", line 249, in __init__

self.prepare()


 "/Users/michael/src/private/trvmp-api/venv/lib/python3.7/site-packages/pydantic/fields.py", line 335, in prepare

self.populate_validators()


 "/Users/michael/src/private/trvmp-api/venv/lib/python3.7/site-packages/pydantic/fields.py", line 468, in populate_validators

*(get_validators() if get_validators else list(find_validators(self.type_, self.model_config))),


 "/Users/michael/src/private/trvmp-api/venv/lib/python3.7/site-packages/pydantic/validators.py", line 569, in find_validators

raise RuntimeError(f'error checking inheritance of {type_!r} (type: {display_as_type(type_)})')
RuntimeError: error checking inheritance of <fastapi.params.Depends object at 0x10ad3a2d0> (type: Depends)
