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

Rethink file tagging #492

Open
ArtemSokolov opened this issue Mar 22, 2023 · 0 comments
Open

Rethink file tagging #492

ArtemSokolov opened this issue Mar 22, 2023 · 0 comments

Comments

@ArtemSokolov
Copy link
Collaborator

Current implementation requires each workflow {} to perform the matching of its inputs. This seems to create unnecessary code bloat in downstream modules, because the matching requires inferring which image and segmentation method were used upstream from the filenames. Consider the following alternative:

  • All entities are always in a tuple with their tag(s). For example, (image tag, image), (image tag, method tag, segmentation mask), (image tag, method tag, SFT), etc.
  • The tags for pre-computed intermediates are determined at load time.
  • Every process should accept tag(s) in the input tuples and return (possibly unmodified) tags in their outputs
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