Skip to content

Conversation

@dkuegler
Copy link
Member

@dkuegler dkuegler commented Aug 26, 2024

Because allow_root is hard coded to False in hypvinn/utils/stats_utils.py, computing stats for hypvinn crashes Fastsurfer when running as root despite passing the flag --allow_root.

This PR changes allow_root (hard coded) to True, which is suboptimal, but fine. This always satisfies the check in segstats (for hypvinn). But this check is also performed in hypvinn/run_prediction.py (so the check in segstats is redundant anyways).

Because allow_root is always set to False, root is not compatible with computing stats for hypvinn.
This changes root to True, which is suboptimal, but fine. This is only a check in segstats and it is also already checked in run_prediction before (so this is redundant).
@m-reuter m-reuter merged commit 80f4e2a into Deep-MI:dev Aug 27, 2024
@dkuegler dkuegler deleted the fix/allowroot-in-hypvinn-stats branch August 27, 2024 08:26
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

Successfully merging this pull request may close these issues.

2 participants