Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected Keyword: use_sigmoid_cls #4

Open
maxizi opened this issue Feb 24, 2020 · 0 comments
Open

Unexpected Keyword: use_sigmoid_cls #4

maxizi opened this issue Feb 24, 2020 · 0 comments

Comments

@maxizi
Copy link

maxizi commented Feb 24, 2020

Hello folks,

I am currently trying to reproduce the results of SiamDW_D on the VOT2019RGBD dataset. It seems like there are some inconsistencies in the code and the configuration files. Precisely, the configs in FPNlib/configs do not match the code with the kwarg "use_sigmoid_cls". The trace of the problem can be seen below.
I will try to fix it myself for now, but it would be nice if you can update the repo, also to ensure I am using it the way it was intended. :)

Best,
Max

Exception has occurred: TypeError
__init__() got an unexpected keyword argument 'use_sigmoid_cls'
  File "/home/maxi/siamdw_d/SiamDW_D/libs/FPNlib/mmdet/models/anchor_heads/rpn_head.py", line 16, in __init__
    super(RPNHead, self).__init__(2, in_channels, **kwargs)
  File "/home/maxi/siamdw_d/SiamDW_D/libs/FPNlib/mmdet/utils/registry.py", line 79, in build_from_cfg
    return obj_cls(**args)
  File "/home/maxi/siamdw_d/SiamDW_D/libs/FPNlib/mmdet/models/builder.py", line 15, in build
    return build_from_cfg(cfg, registry, default_args)
  File "/home/maxi/siamdw_d/SiamDW_D/libs/FPNlib/mmdet/models/builder.py", line 35, in build_head
    return build(cfg, HEADS)
  File "/home/maxi/siamdw_d/SiamDW_D/libs/FPNlib/mmdet/models/detectors/rpn.py", line 23, in __init__
    self.rpn_head = builder.build_head(rpn_head)
  File "/home/maxi/siamdw_d/SiamDW_D/libs/FPNlib/mmdet/utils/registry.py", line 79, in build_from_cfg
    return obj_cls(**args)
  File "/home/maxi/siamdw_d/SiamDW_D/libs/FPNlib/mmdet/models/builder.py", line 15, in build
    return build_from_cfg(cfg, registry, default_args)
  File "/home/maxi/siamdw_d/SiamDW_D/libs/FPNlib/mmdet/models/builder.py", line 43, in build_detector
    return build(cfg, DETECTORS, dict(train_cfg=train_cfg, test_cfg=test_cfg))
  File "/home/maxi/siamdw_d/SiamDW_D/libs/core/senet_far/senet_far.py", line 293, in initialize_rgbd
    self.fpn_model = build_detector(self.fpn_cfg.model, test_cfg=self.fpn_cfg.test_cfg)
  File "/home/maxi/siamdw_d/SiamDW_D/libs/core/far_fusion/far_fusion.py", line 17, in initialize_rgbd
    self.tracker_senet.initialize_rgbd(raw_im, image, depth_im, state, *args, **kwargs)
  File "/home/maxi/siamdw_d/SiamDW_D/libs/core/base/basetracker.py", line 118, in track_sequence_rgbd
    self.initialize_rgbd(raw_im, image, depth_im, gt_bbox, init_online=False)
  File "/home/maxi/siamdw_d/SiamDW_D/libs/core/tracker_test.py", line 38, in run
    output_bb, execution_times, scores, record = tracker.track_sequence_rgbd(seq)
  File "/home/maxi/siamdw_d/SiamDW_D/test/parallel_test.py", line 113, in one_test
    tracked_bb, exec_times, scores, record = tracker.run(seq, rgbd_flag=args.rgbd_flag)
  File "/home/maxi/siamdw_d/SiamDW_D/test/parallel_test.py", line 146, in <module>
    one_test('0', 5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant