We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Tracker
When not using kwargs,
tracker = Tracker(cfg) tracker.track(foreground, contours)
it results in the error below
Traceback (most recent call last): File "/Users/jordao.bragantini/Softwares/ultrack/ultrack/core/_test/test_autotune.py", line 50, in <module> main() File "/Users/jordao.bragantini/Softwares/ultrack/ultrack/core/_test/test_autotune.py", line 35, in main tracker.track(foreground, contours) File "/Users/jordao.bragantini/Softwares/ultrack/ultrack/core/tracker.py", line 97, in track track(config=self.config, *args, **kwargs) File "/Users/jordao.bragantini/Softwares/ultrack/ultrack/utils/deprecation.py", line 36, in _update_from_dict return func(*args, **kwargs) File "/Users/jordao.bragantini/Softwares/ultrack/ultrack/utils/deprecation.py", line 36, in _update_from_dict return func(*args, **kwargs) TypeError: track() got multiple values for argument 'config'
I think they should not take variable args without keywords (e.g. *args), for example:
*args
@functools.wraps(track) def track(self, *args, **kwargs) -> None: track(config=self.config, *args, **kwargs) self.status = TrackerStatus.SOLVED
cc @ilan-theodoro
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When not using kwargs,
it results in the error below
I think they should not take variable args without keywords (e.g.
*args
), for example:cc @ilan-theodoro
The text was updated successfully, but these errors were encountered: