Hi, thanks for the work!
But I think there is an obvious bug at line 56 in src_files/models/utils/factory.py:
model.load_state_dict(state[key], strict=True)
The variable key in else branch is used without definition. So when load_head argument is True, which True in infer.py, the code doesn't work.